Skip to content

Commit

Permalink
initial support for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
puffyCid committed Dec 2, 2023
1 parent 671794b commit 6770996
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 6770996

Please sign in to comment.