Files
OmniNX/.github/workflows/build-all.yml
niklascfw 5964a03534 ci: Fix FPSLocker-Warehouse fetch on Gitea runners
Skip submodule checkout in workflows and fall back to downloading the v4 archive when git clone from GitHub fails during OC pack builds.
2026-09-02 20:47:20 +02:00

33 lines
859 B
YAML

name: Build All
on:
push:
tags:
- '*.*.*'
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
# Submodule clone via GitHub HTTPS fails on some Gitea/act runners.
# OC build fetches FPSLocker-Warehouse in generate-fpslocker-patches.py.
submodules: false
- name: Build all variants
run: bash scripts/build-all.sh
- name: Create Release
uses: softprops/action-gh-release@v1
with:
name: Release ${{ github.ref_name }}
files: |
output/OmniNX-Light-*.zip
output/OmniNX-Standard-*.zip
output/OmniNX-OC-*.zip
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}