From 6770996543754729823c6e45dd000df94580eb3b Mon Sep 17 00:00:00 2001 From: puffyCid <16283453+puffyCid@users.noreply.github.com> Date: Fri, 1 Dec 2023 19:38:16 -0500 Subject: [PATCH] initial support for actions --- .github/workflows/nightly.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/nightly.yml diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 0000000..a2bf1ce --- /dev/null +++ b/.github/workflows/nightly.yml @@ -0,0 +1,34 @@ +name: Nightly Release + +permissions: + contents: write + +on: + push: + branches: + - main + schedule: + - cron: "0 0 * * *" + +jobs: + upload-assets: + strategy: + matrix: + info: + - os: "ubuntu-latest" + target: "x86_64-unknown-linux-gnu" + runs-on: ${{ matrix.info.os }} + steps: + - name: Setup Deno + uses: denoland/setup-deno@v1 + with: + deno-version: vx.x.x + - name: Run build.sh + run: sh build.sh + + - uses: softprops/action-gh-release@v1 + with: + files: scripts.zip + tag_name: nightly + # (required) GitHub token for uploading assets to GitHub Releases. + token: ${{ secrets.GITHUB_TOKEN }}