Updated Workflow

This commit is contained in:
niklascfw 2026-02-03 17:59:44 +01:00
parent e254984f4c
commit 753097953a
No known key found for this signature in database

View file

@ -2,13 +2,11 @@ name: Build All
on: on:
push: push:
branches: [main, master] tags:
pull_request: - 'v*'
branches: [main, master]
workflow_dispatch:
jobs: jobs:
build: build-and-release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
@ -17,8 +15,13 @@ jobs:
- name: Build all variants - name: Build all variants
run: bash scripts/build-all.sh run: bash scripts/build-all.sh
- name: Upload build artifacts - name: Create Release
uses: actions/upload-artifact@v3 uses: softprops/action-gh-release@v1
with: with:
name: omninx-packs-${{ github.sha }} files: |
path: output/ output/OmniNX-Light-*.zip
output/OmniNX-Standard-*.zip
output/OmniNX-OC-*.zip
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}