Some checks failed
Continuous Releases / build (windows) (push) Failing after 4s
28 lines
801 B
YAML
28 lines
801 B
YAML
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:latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- run: echo "/root/.cargo/bin" >> $GITHUB_PATH
|
|
- run: apt install -y buildessentials
|
|
- 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* |