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