diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 90bae6e..e93205a 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -37,14 +37,14 @@ jobs: sha1sum "${ZIP_NAME}" | tee "${ZIP_NAME}.sha1" echo "ZIP_PATH=${ZIP_NAME}" >> "$GITHUB_ENV" echo "SHA1_PATH=${ZIP_NAME}.sha1" >> "$GITHUB_ENV" + mkdir -p artifacts + mv -f "${ZIP_NAME}" "${ZIP_NAME}.sha1" artifacts/ - name: Upload artifact (ZIP and SHA1) - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: resource-pack-${{ github.ref_name }}-${{ github.run_number }} - path: | - ${{ env.ZIP_PATH }} - ${{ env.SHA1_PATH }} + path: artifacts/ if-no-files-found: error - name: Create Release and Upload Assets (Gitea API)