Attempt to make nightly builds for macOS

This commit is contained in:
Sidi Liang 2021-12-06 22:55:18 +08:00 committed by GitHub
parent 19d5952210
commit df5be35af8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 2 deletions

View File

@ -1,6 +1,8 @@
name: C/C++ CI
on:
schedule:
- cron: "0 16 * * *"
push:
branches: [ master ]
pull_request:
@ -16,5 +18,19 @@ jobs:
- uses: actions/checkout@v2
- name: make
run: make
- name: Download a Build Artifact
uses: actions/download-artifact@v2.0.10
- name: Release file
# You may pin to the exact commit or the version.
# uses: djnicholson/release-action@e9a535b3eced09c460e07a84118fb74ae9b53236
uses: djnicholson/release-action@v2.10
with:
# GitHub auth token
token: ${{ secrets.GITHUB_TOKEN }}
# Name of Release to add file to
release-name: nightly build
# Name of the tag for the release (will be associated with current branch)
tag-name: next
# Name for the asset
asset-name: macOS_next
# File to release
file: nasal