diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index 1b2b26b..037c8d4 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -30,14 +30,14 @@ jobs: GITHUB_TOKEN: "" - run: mv target/release/carrier target/release/carrier-macos-arm64 working-directory: carrier - # archive: false uploads the raw binary (not a zip) and names the - # artifact after the file, so this rename is what keeps the two - # platforms' artifacts from colliding under the same "carrier" name. - - uses: https://code.forgejo.org/actions/upload-artifact@v4 + # actions/upload-artifact@v4 talks the newer Artifacts-v2 protocol, + # which Forgejo's server rejects ("not currently supported on GHES"). + # forgejo/upload-artifact is Forgejo's own patched fork with that + # check disabled - needed on both upload and download ends. + - uses: https://code.forgejo.org/forgejo/upload-artifact@v5 with: name: carrier-macos-arm64 path: carrier/target/release/carrier-macos-arm64 - archive: false linux: runs-on: linux-x86_64 @@ -64,11 +64,10 @@ jobs: GITHUB_TOKEN: "" - run: mv target/release/carrier target/release/carrier-linux-x86_64 working-directory: carrier - - uses: https://code.forgejo.org/actions/upload-artifact@v4 + - uses: https://code.forgejo.org/forgejo/upload-artifact@v5 with: name: carrier-linux-x86_64 path: carrier/target/release/carrier-linux-x86_64 - archive: false # forgejo-release.sh (the engine behind actions/forgejo-release) always # does a blind create-then-upload of the release for the tag, with no @@ -82,7 +81,7 @@ jobs: needs: [macos, linux] runs-on: linux-x86_64 steps: - - uses: https://code.forgejo.org/actions/download-artifact@v4 + - uses: https://code.forgejo.org/forgejo/download-artifact@v7 with: path: dist/release merge-multiple: true