diff --git a/.github/.github/workflows/build.yml b/.github/.github/workflows/build.yml new file mode 100644 index 0000000..5792b8b --- /dev/null +++ b/.github/.github/workflows/build.yml @@ -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 diff --git a/.github/.github/workflows/nightly.yml b/.github/.github/workflows/nightly.yml new file mode 100644 index 0000000..9b8d5a9 --- /dev/null +++ b/.github/.github/workflows/nightly.yml @@ -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 diff --git a/.github/.github/workflows/release.yml b/.github/.github/workflows/release.yml new file mode 100644 index 0000000..c4834b4 --- /dev/null +++ b/.github/.github/workflows/release.yml @@ -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