From b71d8efbd713cbbe23c3c41c51bbcb97a55ed233 Mon Sep 17 00:00:00 2001 From: Dave Hadka Date: Mon, 25 Dec 2023 09:42:57 -0700 Subject: [PATCH] Fix release paths --- .github/workflows/package.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 127ab5a..85e2f88 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -74,6 +74,8 @@ jobs: - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 + with: + path: temp - name: Install required software run: | @@ -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 }} \ No newline at end of file