name: Release Electron App run-name: Releasing ${{ gitea.ref_name }} on: push: tags: - 'v*' jobs: release-desktop: runs-on: ubuntu-latest container: image: electronuserland/builder:wine steps: - name: Checkout Code uses: actions/checkout@v4 - name: Install Dependencies run: npm install - name: Make App (Linux) run: npm run make -- --platform=linux --arch=x64 - name: Make App (Windows) # Sfrutta Wine (incluso nel container) per compilare per Windows run: npm run make -- --platform=win32 --arch=x64 - name: Create Gitea Release & Upload uses: akkuman/gitea-release-action@v1 env: NODE_OPTIONS: '--experimental-fetch' with: files: |- out/make/**/*.exe out/make/**/*.zip out/make/**/*.deb out/make/**/*.rpm out/make/**/*.AppImage token: ${{ gitea.token }}