Skip to content

Commit 5f00020

Browse files
committed
stop doublezipping
1 parent aa476f4 commit 5f00020

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/upload-artifact@v4
2929
with:
3030
name: Boot.Metrics-${{ steps.build.outputs.TAG_NAME }}
31-
path: output/Boot.Metrics-${{ steps.build.outputs.TAG_NAME }}.zip
31+
path: ${{ steps.build.outputs.PACKDIR }}/**/*.dll
3232

3333
- uses: softprops/action-gh-release@v2
3434
if: startsWith(github.ref, 'refs/tags/')

build.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ zip -9r Boot.Metrics-"${TAG}".zip libraries plugins
1919
popd
2020

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

2424
if [[ -v GITHUB_OUTPUT ]]
2525
then
2626
echo "TAG_NAME=${TAG}" >> "$GITHUB_OUTPUT"
27+
echo "PACKDIR=${PACKDIR}" >> "$GITHUB_OUTPUT"
2728
fi

0 commit comments

Comments
 (0)