auto-obs-rb-restart/.forgejo/workflows/release.yml

33 lines
699 B
YAML
Raw Normal View History

2024-10-07 20:23:21 +02:00
name: Upload release
on:
push:
branches: [main]
jobs:
build:
steps:
- name: Checkout
uses: actions/checkout@v4
2024-10-07 20:31:09 +02:00
- name: Install dependencies
run: |
apt-get update &&
apt-get install -y mingw-w64 zip
2024-10-07 20:23:21 +02:00
- name: Build
run: |
make &&
mv LICENSE LICENSE-AORBR
2024-10-07 20:23:21 +02:00
- name: Create ZIP file
run: zip -r auto-obs-rb-restart.zip LICENSE-AORBR AutoOBSRBRestart.lua monitor.dll
2024-10-07 20:23:21 +02:00
- name: Create release
uses: akkuman/gitea-release-action@v1
with:
token: ${{ secrets.TOKEN }}
name: Latest version
tag_name: latest
files: auto-obs-rb-restart.zip