Skip to content

Commit

Permalink
Merge pull request #31 from badsyntax/fix-upload-artifacts
Browse files Browse the repository at this point in the history
Fix get-release
  • Loading branch information
badsyntax authored Aug 8, 2020
2 parents ba1f031 + 565dfc4 commit ee8b5d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,15 @@ jobs:
tag=${GITHUB_REF#refs/tags/}
tar_archive="mailinabox-ui.$tag.tar.gz"
zip_archive="mailinabox-ui.$tag.zip"
tar -czvf "$tar_archive" dist/
tar -czf "$tar_archive" dist/
zip -r9 "$zip_archive" dist/
echo "::set-output name=tar_archive::$tar_archive"
echo "::set-output name=zip_archive::$zip_archive"
- name: Get release
id: get_release
uses: bruceadams/get-release@v1.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload release tar archive
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit ee8b5d8

Please sign in to comment.