Skip to content

Commit

Permalink
Add zip assets
Browse files Browse the repository at this point in the history
  • Loading branch information
syuchan1005 committed Jun 29, 2020
1 parent 702f2e0 commit c4f4d4f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
draft: false
prerelease: contains("${{ github.ref }}", '-')
- name: Upload Release Asset
id: upload-release-asset
id: upload-release-asset-jar
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -49,3 +49,13 @@ jobs:
asset_path: "build/libs/GitPrefix.jar"
asset_name: GitPrefix.jar
asset_content_type: application/java-archive
- name: Upload Release Asset (zip)
id: upload-release-asset-zip
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "build/distributions/GitPrefix.zip"
asset_name: GitPrefix.zip
asset_content_type: application/zip

0 comments on commit c4f4d4f

Please sign in to comment.