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:
|
||||
push:
|
||||
branches: [main, master]
|
||||
pull_request:
|
||||
branches: [main, master]
|
||||
workflow_dispatch:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
build-and-release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
@ -17,8 +15,13 @@ jobs:
|
|||
- name: Build all variants
|
||||
run: bash scripts/build-all.sh
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
name: omninx-packs-${{ github.sha }}
|
||||
path: output/
|
||||
files: |
|
||||
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