guh
Some checks failed
Publish / Publish (push) Has been cancelled

This commit is contained in:
Lilith Ashley Nyx Arson 🔥 2024-11-04 05:33:19 +01:00
parent d5d5ff1242
commit f952f07641
Signed by: lilith
SSH key fingerprint: SHA256:LAjgsAMyT3LO2JVtr6fQ4N3RTYoRRlIm5wAKsbDife4
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,31 @@
name: Publish
on:
push:
jobs:
publish-prerelease:
name: "Publish"
runs-on: [ubuntu-latest]
steps:
- name: Check out code
uses: actions/checkout@v4
with:
path: data
- name: Set outputs
id: vars
run: cd data;echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Make archive
shell: bash
run: mkdir dist;cd data;zip -0 ../dist/pack.zip *
- uses: actions/forgejo-release@v2
with:
direction: upload
tag: ${{ github.ref_name }}-${{ steps.vars.outputs.sha_short }}
token: ${{ secrets.FORGEJO_TOKEN }}
release-dir: "dist"
prerelease: false
makeLatest: true

BIN
pack.zip

Binary file not shown.