Fixing the itch push job
@@ -25,6 +25,11 @@ jobs:
uses: thebritican/fetch-latest-release@v2.0.0
with:
github_token: ${{ github.token }}
+ - id: get-id
+ run: |
+ id=$(echo ${{github.event.client_payload.value}} | cut -f 2 -d v)
+ echo "::set-output name=id::$id"
+ - run: echo "${{steps.get-id.outputs.id}}"
- uses: dsaltares/fetch-gh-release-asset@master
with:
repo: "domeengine/dome"
@@ -37,5 +42,5 @@ jobs:
CHANNEL: ${{matrix.platform}}
ITCH_GAME: dome
ITCH_USER: avivbeeri
- VERSION: ${{steps.fetch-latest-release.outputs.tag_name}}
+ VERSION: ${{steps.get-id.outputs.id}}
PACKAGE: dome-${{steps.fetch-latest-release.outputs.tag_name}}-${{matrix.platform}}.zip
