Update releaseArtifacts.yml
This commit is contained in:
parent
8aae651c2c
commit
b4a9d1ac18
1 changed files with 16 additions and 12 deletions
28
.github/workflows/releaseArtifacts.yml
vendored
28
.github/workflows/releaseArtifacts.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue