Skip to content

Commit

Permalink
Update createrelease.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKahr authored Jan 31, 2021
1 parent 6bb1b68 commit f477f84
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/createrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@ jobs:
customParameters: ''

- name: Zip Build
run: sudo zip -r ${{ matrix.targetPlatform }}.zip build
run: (cd build/${{ matrix.targetPlatform }} && sudo zip -r ../../${{ matrix.targetPlatform }}.zip .)

- name: Upload Build Output
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.targetPlatform }}
name: build
path: ${{ matrix.targetPlatform }}.zip

CreateRelease:
Expand All @@ -142,9 +142,6 @@ jobs:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

steps:
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Download All Builds
uses: actions/download-artifact@v2

Expand All @@ -153,6 +150,6 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
prerelease: false
title: 'Release ${{ env.RELEASE_VERSION }}'
title: 'Latest Release'
files: |
*.zip
build/*.zip

0 comments on commit f477f84

Please sign in to comment.