Skip to content

Commit

Permalink
Fix release paths
Browse files Browse the repository at this point in the history
  • Loading branch information
dhadka committed Dec 25, 2023
1 parent 096c44e commit b71d8ef
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
- uses: actions/checkout@v4

- uses: actions/download-artifact@v4
with:
path: temp

- name: Install required software
run: |
Expand All @@ -90,13 +92,15 @@ jobs:
run: |
[ "${{ inputs.version }}" == "${BUILD_VERSION}" ] || (>&2 echo "Version does not match value in pom.xml"; exit -1)
- name: Show content
run: ls -R .
- name: Stage content
run: |
mkdir release
cp temp/J3-Windows/* release
cp temp/J3-Linux/* release
zip release/J3.zip temp/J3
- name: Stage GitHub release
run: |
gh release create "v${{ inputs.version }}" --draft --title "Version ${{ inputs.version }}" \
J3-Windows/j3-${{ inputs.version }}.msi \
J3-Linux/j3-${{ inputs.version }}.deb
gh release create "v${{ inputs.version }}" --draft --title "Version ${{ inputs.version }}" release/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b71d8ef

Please sign in to comment.