Files
mimic3-keyboard/.gitea/workflows/cd.yaml
Workflow config file is invalid. Please check your config file: yaml: line 27: could not find expected ':'
2026-03-19 23:09:14 -05:00

30 lines
815 B
YAML

on:
push:
tags:
- '*'
name: Continuous Releases
env:
TARGET_PLATFORM: x86_64-pc-windows-gnu
APT_PACKAGES: mingw-w64
jobs:
build_windows:
name: build (windows)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: apt update && apt install -y ${{ env.APT_PACKAGES }}
- run: rustup target add "${{ env.TARGET_PLATFORM }}"
- run: cargo build --release --target "${{ env.TARGET_PLATFORM }}"
- uses: actions/gitea-release-action@v1
env:
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
NODE_TLS_REJECT_UNAUTHORIZED=false
with:
files: |-
target/${{ env.TARGET_PLATFORM }}/mimic3-keyboard*