diff --git a/.forgejo/workflows/generate-tarball.yml b/.forgejo/workflows/generate-tarball.yml index 613b14eaec..be3d52330e 100644 --- a/.forgejo/workflows/generate-tarball.yml +++ b/.forgejo/workflows/generate-tarball.yml @@ -11,7 +11,7 @@ jobs: name: Build tarball w/ submodules runs-on: x86_64 container: - image: alpinelinux/alpine-gitlab-ci:latest + image: alpine:latest env: CI_PROJECT_NAME: zotero steps: @@ -35,3 +35,22 @@ jobs: with: name: tarball path: zotero-${{ inputs.ref_name }}.* + upload-release: + runs-on: x86_64 + container: + imagine: alpine:latest + steps: + - name: Environment setup + run: apk add nodejs + - uses: actions/checkout@v3 + with: + fetch-depth: 500 + ref: ${{ inputs.ref_name }} + - uses: actions/forgejo-release@v1 + with: + direction: upload + url: https://api.ayakael.net + repo: mirrors/zotero + tag: ${{ inputs.ref_name }} + release-dir: ./ + release-notes: "This release includes a fully buildable tarball"