.forgejo: remove tarball build for now
This commit is contained in:
parent
77bae4e923
commit
23d49cbf23
1 changed files with 0 additions and 28 deletions
|
@ -7,35 +7,8 @@ on:
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
jobs:
|
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:
|
upload-release:
|
||||||
runs-on: x86_64
|
runs-on: x86_64
|
||||||
needs: [build-tarball]
|
|
||||||
container:
|
container:
|
||||||
image: docker.io/node:20-bookworm
|
image: docker.io/node:20-bookworm
|
||||||
steps:
|
steps:
|
||||||
|
@ -47,7 +20,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
direction: upload
|
direction: upload
|
||||||
url: https://api.ayakael.net
|
url: https://api.ayakael.net
|
||||||
repo: mirrors/zotero
|
|
||||||
sha: f55d5c106785e0575f2d48abf34e4de252c4f301
|
sha: f55d5c106785e0575f2d48abf34e4de252c4f301
|
||||||
tag: ${{ inputs.ref_name }}
|
tag: ${{ inputs.ref_name }}
|
||||||
verbose: true
|
verbose: true
|
||||||
|
|
Loading…
Reference in a new issue