on: [push] name: Continuous Releases env: TARGET_PLATFORM: x86_64-pc-windows-gnu APT_PACKAGES: mingw-w64 jobs: build_windows: name: build (windows) container: image: tea.werats.gay/laurayka/ci-rust-img:0.5.0 steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - run: echo "/root/.cargo/bin" >> $GITHUB_PATH - run: cargo build --release --target "${{ env.TARGET_PLATFORM }}" - uses: https://gitea.com/actions/gitea-release-action@main env: NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18 NODE_TLS_REJECT_UNAUTHORIZED: "false" with: tag_name: rc-${{ env.GITHUB_SHA }} files: |- target/*/release/mimic3-keyboard*