mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-01-19 00:07:17 +01:00
Update releaseArtifacts.yml
This commit is contained in:
parent
b8b62bb5af
commit
67dd3cf0e3
15
.github/workflows/releaseArtifacts.yml
vendored
15
.github/workflows/releaseArtifacts.yml
vendored
@ -1,5 +1,8 @@
|
|||||||
name: Release Artifacts
|
name: Release Artifacts
|
||||||
on: release
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
jobs:
|
jobs:
|
||||||
push:
|
push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -25,13 +28,19 @@ jobs:
|
|||||||
file: ./build/launch4j/Stirling-PDF.exe
|
file: ./build/launch4j/Stirling-PDF.exe
|
||||||
asset_name: Stirling-PDF.exe
|
asset_name: Stirling-PDF.exe
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
|
overwrite: true
|
||||||
|
|
||||||
|
- name: Get version number
|
||||||
|
id: versionNumber
|
||||||
|
run: echo "::set-output name=versionNumber::$(./gradlew printVersion --quiet | tail -1)"
|
||||||
|
|
||||||
- name: Upload binaries to release
|
- name: Upload binaries to release
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ./build/libs/S-PDF*.jar
|
file: ./build/libs/S-PDF-${{ steps.versionNumber.outputs.versionNumber }}.jar
|
||||||
asset_name: S-PDF.jar
|
asset_name: S-PDF.jar
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
|
overwrite: true
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user