Skip to content

Commit

Permalink
use release from job
Browse files Browse the repository at this point in the history
  • Loading branch information
myin142 committed Oct 19, 2024
1 parent 3ac415c commit 91d64a4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
runs-on: ubuntu-latest
outputs:
channels: ${{ steps.build-data.outputs.channels }}
release-itch: ${{ steps.build-data.outputs.release-itch }}
release-github: ${{ steps.build-data.outputs.release-github }}
steps:
- id: build-data
run: |
Expand All @@ -36,6 +38,8 @@ jobs:
fi
echo "channels=[$CHANNELS]" >> $GITHUB_OUTPUT
echo "release-itch=$RELEASE_ITCH" >> $GITHUB_OUTPUT
echo "release-github=$RELEASE_GITHUB" >> $GITHUB_OUTPUT
env:
REF: ${{ github.ref_name }}
RELEASE_ITCH: ${{ inputs.release-itch }}
Expand All @@ -56,7 +60,7 @@ jobs:
release-itch:
uses: kuma-gee/actions/.github/workflows/itch-release.yml@main
needs: [build-godot, build-info]
if: ${{ inputs.release-itch }}
if: ${{ needs.build-info.outputs.release-itch }}
with:
channels: ${{ needs.build-info.outputs.channels }}
game: ${{ needs.build-godot.outputs.game }}
Expand All @@ -67,4 +71,4 @@ jobs:
release-github:
uses: kuma-gee/actions/.github/workflows/github-release.yml@main
needs: build-godot
if: ${{ inputs.release-github }}
if: ${{ needs.build-info.outputs.release-github }}

0 comments on commit 91d64a4

Please sign in to comment.