nighly releases have stopped on March 1st #6286

only: separate new token
This commit is contained in:
rusefillc 2024-03-24 18:45:39 -04:00
parent 83ef66e6a6
commit 8040eb9fc6
1 changed files with 6 additions and 4 deletions

View File

@ -8,7 +8,9 @@ on:
push: push:
pull_request: pull_request:
schedule: 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: workflow_dispatch:
inputs: inputs:
lts: lts:
@ -81,7 +83,7 @@ jobs:
id: tag id: tag
uses: mathieudutour/github-tag-action@v6.2 uses: mathieudutour/github-tag-action@v6.2
with: with:
github_token: ${{ secrets.ACCESS_TOKEN }} github_token: ${{ secrets.NIGHTLY_RELEASE_ACCESS_TOKEN }}
custom_tag: ${{ env.date }} custom_tag: ${{ env.date }}
tag_prefix: '' tag_prefix: ''
@ -93,7 +95,7 @@ jobs:
name: "Nightly ${{ env.date }}" name: "Nightly ${{ env.date }}"
artifacts: "artifacts/rusefi_bundle_*.zip" artifacts: "artifacts/rusefi_bundle_*.zip"
replacesArtifacts: false replacesArtifacts: false
token: ${{ secrets.ACCESS_TOKEN }} token: ${{ secrets.NIGHTLY_RELEASE_ACCESS_TOKEN }}
allowUpdates: true allowUpdates: true
prerelease: true prerelease: true
@ -272,7 +274,7 @@ jobs:
name: "Nightly ${{ env.date }}" name: "Nightly ${{ env.date }}"
artifacts: "artifacts/rusefi_bundle_*.zip" artifacts: "artifacts/rusefi_bundle_*.zip"
replacesArtifacts: false replacesArtifacts: false
token: ${{ secrets.ACCESS_TOKEN }} token: ${{ secrets.NIGHTLY_RELEASE_ACCESS_TOKEN }}
allowUpdates: true allowUpdates: true
prerelease: true prerelease: true