autostart-manage/.forgejo/workflows/release.yaml
Tobias Reisinger ff19aeaf32
All checks were successful
/ release (push) Successful in 5m21s
Split repos
2024-10-28 20:04:32 +01:00

32 lines
789 B
YAML

on:
push:
tags:
- v**
jobs:
release:
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@v3
- id: install-dependencies
run: |
apt update
# TODO add pandoc for docs
apt install -y make ruby
gem install bashly
shell: bash
- id: run-bashly
run: |
make generate
#make docs
shell: bash
- id: prepare-release
run: |
mkdir /tmp/release
cp ./autostart-manage /tmp/release
#cp -r ./man1 /tmp/release
shell: bash
- uses: https://code.forgejo.org/actions/forgejo-release@v1
with:
direction: upload
release-dir: /tmp/release
token: ${{ github.token }}