Files
dndcli/.gitea/workflows/cd.yaml
Lauren Kaviak ae6e46f147
Some checks failed
Continuous Releases / build (windows) (push) Failing after 7s
build a macos binary
2026-03-22 01:23:04 -05:00

29 lines
888 B
YAML

on: [push]
name: Continuous Releases
env:
TARGET_PLATFORM_WINDOWS: x86_64-pc-windows-gnu
TARGET_PLATFORM_MACOS: aarch64-apple-darwin
APT_PACKAGES: mingw-w64
jobs:
build_windows:
name: build (windows)
container:
image: tea.werats.gay/laurayka/rust-ci-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_WINDOWS }}"
- run: cargo build --release --target "${{ env.TARGET_PLATFORM_MACOS }}"
- 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/dndcli*