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