Skip to content

Commit

Permalink
stop doublezipping
Browse files Browse the repository at this point in the history
  • Loading branch information
miniduikboot committed May 22, 2024
1 parent aa476f4 commit 5f00020
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: Boot.Metrics-${{ steps.build.outputs.TAG_NAME }}
path: output/Boot.Metrics-${{ steps.build.outputs.TAG_NAME }}.zip
path: ${{ steps.build.outputs.PACKDIR }}/**/*.dll

- uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
Expand Down
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ zip -9r Boot.Metrics-"${TAG}".zip libraries plugins
popd

mkdir -p output
cp "${PACKDIR}"/Boot.Metrics-"${TAG}".zip output
mv "${PACKDIR}"/Boot.Metrics-"${TAG}".zip output

if [[ -v GITHUB_OUTPUT ]]
then
echo "TAG_NAME=${TAG}" >> "$GITHUB_OUTPUT"
echo "PACKDIR=${PACKDIR}" >> "$GITHUB_OUTPUT"
fi

0 comments on commit 5f00020

Please sign in to comment.