Skip to content

Commit

Permalink
release.yml updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Apr 2, 2020
1 parent daf0131 commit f636dd2
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- name: Build
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
make deploy
Expand All @@ -32,7 +32,7 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
Expand All @@ -46,13 +46,13 @@ jobs:
run: |
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
- name: Upload Release Asset
id: upload-release-asset
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./target/barcode4j-${{ steps.get_version.outputs.VERSION }}-SNAPSHOT.jar
asset_name: barcode4j-${{ steps.get_version.outputs.VERSION }}-SNAPSHOT.jar
asset_content_type: application/java-archive
# - name: Upload Release Asset
# id: upload-release-asset
# uses: actions/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: ./target/barcode4j-${{ steps.get_version.outputs.VERSION }}-SNAPSHOT.jar
# asset_name: barcode4j-${{ steps.get_version.outputs.VERSION }}-SNAPSHOT.jar
# asset_content_type: application/java-archive

0 comments on commit f636dd2

Please sign in to comment.