Skip to content

Commit

Permalink
CI run once a month + publish release
Browse files Browse the repository at this point in the history
  • Loading branch information
WietseWind authored May 24, 2024
1 parent cbd536e commit 31f3471
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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

0 comments on commit 31f3471

Please sign in to comment.