From 8040eb9fc627a6c1eb438235d9e1239e1c94fa68 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sun, 24 Mar 2024 18:45:39 -0400 Subject: [PATCH] nighly releases have stopped on March 1st #6286 only: separate new token --- .github/workflows/build-firmware.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-firmware.yaml b/.github/workflows/build-firmware.yaml index 57866bb8a5..87a9afdabf 100644 --- a/.github/workflows/build-firmware.yaml +++ b/.github/workflows/build-firmware.yaml @@ -8,7 +8,9 @@ on: push: pull_request: schedule: - - cron: '0 0 * * *' + # this produces GitHub nightly releases https://github.com/rusefi/rusefi/releases + # by the way GitHub actions use UTC https://www.utctime.net/ which matches GMT time + - cron: '50 22 * * *' workflow_dispatch: inputs: lts: @@ -81,7 +83,7 @@ jobs: id: tag uses: mathieudutour/github-tag-action@v6.2 with: - github_token: ${{ secrets.ACCESS_TOKEN }} + github_token: ${{ secrets.NIGHTLY_RELEASE_ACCESS_TOKEN }} custom_tag: ${{ env.date }} tag_prefix: '' @@ -93,7 +95,7 @@ jobs: name: "Nightly ${{ env.date }}" artifacts: "artifacts/rusefi_bundle_*.zip" replacesArtifacts: false - token: ${{ secrets.ACCESS_TOKEN }} + token: ${{ secrets.NIGHTLY_RELEASE_ACCESS_TOKEN }} allowUpdates: true prerelease: true @@ -272,7 +274,7 @@ jobs: name: "Nightly ${{ env.date }}" artifacts: "artifacts/rusefi_bundle_*.zip" replacesArtifacts: false - token: ${{ secrets.ACCESS_TOKEN }} + token: ${{ secrets.NIGHTLY_RELEASE_ACCESS_TOKEN }} allowUpdates: true prerelease: true