1
0
mirror of https://github.com/Stirling-Tools/Stirling-PDF.git synced 2024-11-04 23:10:11 +01:00

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