mirror of
https://github.com/zeldaret/Z64Utils.git
synced 2026-09-26 13:33:11 -04:00
32 lines
779 B
YAML
32 lines
779 B
YAML
name: Push
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
check-format:
|
|
uses: ./.github/workflows/format.yml
|
|
|
|
build:
|
|
if: github.ref == 'refs/heads/master'
|
|
uses: ./.github/workflows/build.yml
|
|
with:
|
|
version-suffix: ${{ github.sha }}
|
|
archive-suffix: ${{ github.sha }}
|
|
|
|
build-release:
|
|
if: startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/tags/nightly'
|
|
uses: ./.github/workflows/build.yml
|
|
with:
|
|
version-suffix: ''
|
|
archive-suffix: ${{ github.ref_name }}
|
|
|
|
nightly-release:
|
|
if: github.ref == 'refs/heads/master'
|
|
needs: build
|
|
uses: ./.github/workflows/nightly-release.yml
|
|
|
|
release:
|
|
if: startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/tags/nightly'
|
|
needs: build-release
|
|
uses: ./.github/workflows/release.yml
|