From 31f3471f0fca00b8414331ffc18a0590f2ff963b Mon Sep 17 00:00:00 2001 From: Wietse Wind Date: Sat, 25 May 2024 01:54:58 +0200 Subject: [PATCH] CI run once a month + publish release --- .github/workflows/build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b6663e4..f561553 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,8 @@ on: branches: [ "main", "dev" ] pull_request: branches: [ "main", "dev" ] + schedule: + - cron: "1 0 1 * *" # minute hour dayofmonth month dayofweek, at least once a month concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -41,3 +43,16 @@ jobs: with: name: qjs.wasm path: build/qjs.wasm + + - name: Release + uses: softprops/action-gh-release@v2 + with: + prerelease: false + draft: false + make_latest: true + name: autorelease + tag_name: autorelease + files: | + build/qjs.wasm + build/qjsc.wasm + fail_on_unmatched_files: true