name: release on: push: tags: - '*' jobs: release: runs-on: ubuntu-latest container: image: imartyn/rust-xwin:dev steps: - name: Install gotempl run: | mkdir -p $HOME/bin wget -O $HOME/bin/gotempl https://github.com/link-society/gotempl/releases/download/v0.7.0/gotempl-linux-amd64 chmod +x $HOME/bin/gotempl - name: Check out repository code uses: actions/checkout@v3 - name: build run: | bash -c 'source "$HOME/.cargo/env" ;\ bash buildall.sh' - name: Release the binaries id: use-go-action uses: actions/release-action@main with: files: |- app/src-tauri/target/release/bundle/deb/*.deb app/src-tauri/target/release/bundle/appimage/*.AppImage app/src-tauri/target/release/bundle/nsis/*.exe app/src-tauri/target/release/bundle/msi/*.msi app/src-tauri/target/release/*.exe api_key: '${{secrets.RELEASE_TOKEN}}'