Skip to content

Commit

Permalink
fix file paths to upload platform builds on release
Browse files Browse the repository at this point in the history
  • Loading branch information
Psypher9 committed Apr 19, 2023
1 parent 06a9985 commit a92956f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/godot_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
default:
name: ${{ inputs.target_name }}
runs-on: ubuntu-latest
env:
output_file: ${{ inputs.output_path }}_${{ github.ref_name }}.zip
steps:
- name: checkout
uses: actions/checkout@v3.3.0
Expand All @@ -33,11 +35,11 @@ jobs:
if: github.event_name == 'release'
run: |-
cd ${{ github.workspace }}/build
zip -r ${{ inputs.output_path }}_${{ github.ref_name }}.zip .
zip -r ${{ env.output_file }} .
- name: Upload ${{ inputs.target_name }} to Release ${{ github.ref_name }}
if: github.event_name == 'release'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |-
gh release upload ${{ github.ref_name }} ${{ inputs.output_path }}_${{ github.ref_name }}.zip
gh release upload ${{ github.ref_name }} ./${{ env.output_file }}

0 comments on commit a92956f

Please sign in to comment.