auto-obs-rb-restart/.forgejo/workflows/release.yml
Mylloon d8cb7dffaa
All checks were successful
Upload release / build (push) Successful in 35s
fix job
2024-10-07 20:31:09 +02:00

30 lines
643 B
YAML

name: Upload release
on:
push:
branches: [main]
jobs:
build:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
apt-get update &&
apt-get install -y mingw-w64 zip
- name: Build
run: make
- name: Create ZIP file
run: zip -r auto-obs-rp-restart.zip LICENSE AutoOBSRPRestart.lua monitor.dll
- name: Create release
uses: akkuman/gitea-release-action@v1
with:
token: ${{ secrets.TOKEN }}
name: Latest version
tag_name: latest
files: auto-obs-rp-restart.zip