Update releaseArtifacts.yml

This commit is contained in:
Anthony Stirling 2023-06-10 17:39:36 +01:00 committed by GitHub
parent 8aae651c2c
commit b4a9d1ac18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
name: Release Artifacts name: Release Artifacts
on: release on: release
jobs: jobs:
releaseJob: push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3.5.2 - uses: actions/checkout@v3.5.2
@ -18,16 +18,20 @@ jobs:
- name: Generate jar - name: Generate jar
run: ./gradlew clean createJar run: ./gradlew clean createJar
- uses: Shopify/upload-to-release@v1 - name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with: with:
name: Stirling-PDF.jar repo_token: ${{ secrets.GITHUB_TOKEN }}
path: ./build/libs/S-PDF*.jar file: ./build/launch4j/Stirling-PDF.exe
repo-token: ${{ secrets.GITHUB_TOKEN }} asset_name: Stirling-PDF.exe
content-type: application/java-archive tag: ${{ github.ref }}
- uses: Shopify/upload-to-release@v1 - name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with: with:
name: Stirling-PDF.exe repo_token: ${{ secrets.GITHUB_TOKEN }}
path: ./build/launch4j/Stirling-PDF.exe file: ./build/libs/S-PDF*.jar
repo-token: ${{ secrets.GITHUB_TOKEN }} asset_name: S-PDF.jar
content-type: application/vnd.microsoft.portable-executable tag: ${{ github.ref }}