4 Commits

Author SHA1 Message Date
f63ef715b7 change trigger 2026-03-19 23:09:14 -05:00
15014a72cb Update .gitea/workflows/ci.yaml 2026-03-18 06:09:43 +00:00
470eba2447 why check again
All checks were successful
Continuous integration / Check (push) Successful in 3m57s
Continuous integration / build (push) Successful in 4m11s
2026-03-18 00:37:11 -05:00
b8e6c3b6fb do release build for pushes on main branch 2026-03-18 00:37:05 -05:00
2 changed files with 8 additions and 12 deletions

View File

@@ -1,4 +1,7 @@
on: [push]
on:
push:
tags:
- '*'
name: Continuous Releases
@@ -7,24 +10,17 @@ env:
APT_PACKAGES: mingw-w64
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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 check --target "${{ env.TARGET_PLATFORM }}"
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 --target "${{ 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

View File

@@ -1,4 +1,4 @@
on: [push, pull_request]
on: [pull_request]
name: Continuous integration