Update releaseArtifacts.yml

This commit is contained in:
Anthony Stirling 2023-06-10 15:21:54 +01:00 committed by GitHub
parent 579a50be2c
commit fc9465b324
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,16 +19,16 @@ jobs:
- name: Generate jar - name: Generate jar
run: ./gradlew clean createJar run: ./gradlew clean createJar
- name: Upload jar to release - uses: Shopify/upload-to-release@v1
uses: JasonEtco/upload-to-release@master
with: with:
args: ./build/libs/S-PDF*.jar application/java-archive name: Stirling-PDF.jar
env: path: ./build/libs/S-PDF*.jar
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
content-type: application/java-archive
- name: Upload exe to release - uses: Shopify/upload-to-release@v1
uses: JasonEtco/upload-to-release@master
with: with:
args: ./build/launch4j/Stirling-PDF.exe application/vnd.microsoft.portable-executable name: Stirling-PDF.exe
env: path: ./build/launch4j/Stirling-PDF.exe
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
content-type: application/vnd.microsoft.portable-executable