mirror of
https://github.com/daylinmorgan/forge.git
synced 2024-11-24 00:40:45 -06:00
ci: reuse because I'm lazy
This commit is contained in:
parent
8521599766
commit
bd17854e0e
3 changed files with 50 additions and 0 deletions
9
.github/.github/workflows/build.yml
vendored
Normal file
9
.github/.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
name: ⚙️ Build Binaries
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
build-artifact:
|
||||
uses: daylinmorgan/actions/.github/workflows/build-nim-forge.yml@main
|
24
.github/.github/workflows/nightly.yml
vendored
Normal file
24
.github/.github/workflows/nightly.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: 🌙 Nightly Release
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 2 * * *'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
check-commits:
|
||||
uses: daylinmorgan/actions/.github/workflows/check-commits.yml@main
|
||||
with:
|
||||
since: "24 hours"
|
||||
|
||||
build-artifacts:
|
||||
needs: check-commits
|
||||
if: ${{ needs.check-commits.outputs.quit != 'true' }}
|
||||
uses: daylinmorgan/actions/.github/workflows/build-nim-forge.yml@main
|
||||
|
||||
generate-release:
|
||||
needs: build-artifacts
|
||||
uses: daylinmorgan/actions/.github/workflows/nightly.yml@main
|
17
.github/.github/workflows/release.yml
vendored
Normal file
17
.github/.github/workflows/release.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: 🚀 Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*.*'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build-artifacts:
|
||||
uses: daylinmorgan/actions/.github/workflows/build-nim-forge.yml@main
|
||||
|
||||
create-release:
|
||||
needs: build-artifacts
|
||||
uses: daylinmorgan/actions/.github/workflows/release.yml@main
|
Loading…
Reference in a new issue