.forgejo: add release job
This commit is contained in:
parent
d867e78336
commit
1ecffe6156
1 changed files with 20 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue