Skip to content

Commit

Permalink
Improve workflows ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
User committed Aug 25, 2023
1 parent 828ec7b commit 0162807
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/monthly-copyright-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
uses: 51Degrees/common-ci/.github/workflows/monthly-copyright-update.yml@main
with:
repo-name: ${{ github.event.repository.name }}
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/nightly-package-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ jobs:
uses: 51Degrees/common-ci/.github/workflows/nightly-package-update.yml@main
with:
repo-name: ${{ github.event.repository.name }}
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Nigthly PR to Main
name: Nightly PRs to Main

on:
workflow_dispatch:
Expand All @@ -12,6 +12,6 @@ jobs:
uses: 51Degrees/common-ci/.github/workflows/nightly-prs-to-main.yml@main
with:
repo-name: ${{ github.event.repository.name }}
secrets:
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
asset-keys: '{ "DeviceDetection": "${{ secrets.DEVICE_DETECTION_KEY }}","DeviceDetectionUrl": "${{ secrets.DEVICE_DETECTION_URL }}", "TestResourceKey": "${{ secrets.SUPER_RESOURCE_KEY}}","AcceptCHBrowserKey" : "${{ secrets.ACCEPTCH_BROWSER_KEY}}","AcceptCHHardwareKey" : "${{ secrets.ACCEPTCH_HARDWARE_KEY}}","AcceptCHPlatformKey" : "${{ secrets.ACCEPTCH_PLATFORM_KEY}}","AcceptCHNoneKey" : "${{ secrets.ACCEPTCH_NONE_KEY}}" }'
12 changes: 6 additions & 6 deletions .github/workflows/nightly-publish-main.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: Nigthly Publish Main
name: Nightly Publish Main

on:
workflow_dispatch:
schedule:
# * is a special character in YAML so quote this string
- cron: '0 1 * * *'
workflow_run:
workflows: [Nightly PRs to Main]
types: [completed]

jobs:
# Run the common workflow to test and publish the main branch
Nightly_Publish_Main:
uses: 51Degrees/common-ci/.github/workflows/nightly-publish-main.yml@main
with:
repo-name: ${{ github.event.repository.name }}
build-platform: windows-latest
secrets:
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
asset-keys: '{ "ApiKey": "${{ secrets.NUGET_API_KEY }}", "CodeSigningCertPassword" : "${{ secrets.CODE_SIGNING_CERT_PASSWORD }}", "CodeSigningCert" : "${{ secrets.CODE_SIGNING_CERT }}", "DeviceDetection": "${{ secrets.DEVICE_DETECTION_KEY }}","DeviceDetectionUrl": "${{ secrets.DEVICE_DETECTION_URL }}","TestResourceKey": "${{ secrets.SUPER_RESOURCE_KEY}}","AcceptCHBrowserKey" : "${{ secrets.ACCEPTCH_BROWSER_KEY}}","AcceptCHHardwareKey" : "${{ secrets.ACCEPTCH_HARDWARE_KEY}}","AcceptCHPlatformKey" : "${{ secrets.ACCEPTCH_PLATFORM_KEY}}","AcceptCHNoneKey" : "${{ secrets.ACCEPTCH_NONE_KEY}}" }'

0 comments on commit 0162807

Please sign in to comment.