diff --git a/.forgejo/workflows/generate-tarball.yml b/.forgejo/workflows/generate-tarball.yml index 50ce9fdc21..d1580fe875 100644 --- a/.forgejo/workflows/generate-tarball.yml +++ b/.forgejo/workflows/generate-tarball.yml @@ -7,35 +7,8 @@ on: type: string jobs: - build-tarball: - name: Build tarball w/ submodules - runs-on: x86_64 - container: - image: alpine:latest - env: - CI_PROJECT_NAME: zotero - steps: - - name: Environment setup - run: apk add nodejs git git-archive-all gzip - - name: Repo pull - uses: actions/checkout@v4 - with: - fetch-depth: 500 - ref: ${{ inputs.ref_name }} - - name: Package build - run: | - echo "building tarball for ${{ inputs.ref_name }}" - git-archive-all --force-submodules $CI_PROJECT_NAME-${{ inputs.ref_name }}.tar.gz - echo "Generating sha512sum" - sha512sum $CI_PROJECT_NAME-${{ inputs.ref_name }}.tar.gz > $CI_PROJECT_NAME-${{ inputs.ref_name }}.tar.gz.sha512sum - - name: Package upload - uses: forgejo/upload-artifact@v3 - with: - name: tarball - path: zotero-${{ inputs.ref_name }}.* upload-release: runs-on: x86_64 - needs: [build-tarball] container: image: docker.io/node:20-bookworm steps: @@ -47,7 +20,6 @@ jobs: with: direction: upload url: https://api.ayakael.net - repo: mirrors/zotero sha: f55d5c106785e0575f2d48abf34e4de252c4f301 tag: ${{ inputs.ref_name }} verbose: true