diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dce66f8..75b84d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/') diff --git a/build.sh b/build.sh index 1cf5238..9439c9a 100755 --- a/build.sh +++ b/build.sh @@ -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