From df5be35af87444a2ce020685cb74725a9470eef2 Mon Sep 17 00:00:00 2001 From: Sidi Liang <1467329765@qq.com> Date: Mon, 6 Dec 2021 22:55:18 +0800 Subject: [PATCH] Attempt to make nightly builds for macOS --- .github/workflows/c-cpp.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 7c4e7c2..eb065f6 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -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 +