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 && mv LICENSE LICENSE-AORBR - name: Create ZIP file run: zip -r auto-obs-rb-restart.zip LICENSE-AORBR AutoOBSRBRestart.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-rb-restart.zip