Skip to content

Commit

Permalink
Merge pull request #30 from badsyntax/fix-upload-artifacts
Browse files Browse the repository at this point in the history
Fix release
  • Loading branch information
badsyntax authored Aug 8, 2020
2 parents 75ab487 + e204f1b commit ba1f031
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ jobs:
id: archives
run: |
tag=${GITHUB_REF#refs/tags/}
tar_archive="$GITHUB_REPO.$tag.tar.gz"
zip_archive="$GITHUB_REPO.$tag.zip"
tar_archive="mailinabox-ui.$tag.tar.gz"
zip_archive="mailinabox-ui.$tag.zip"
tar -czvf "$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
uses: bruceadams/get-release@v1.2.0
- name: Upload release tar archive
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit ba1f031

Please sign in to comment.