forked from Mirrors/OmniNX
Updated Workflow
This commit is contained in:
parent
e254984f4c
commit
753097953a
1 changed files with 12 additions and 9 deletions
21
.github/workflows/build-all.yml
vendored
21
.github/workflows/build-all.yml
vendored
|
|
@ -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 }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue