Publishing to GitHub Packages (scheduler) #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publishing to GitHub Packages (scheduler) | |
on: | |
schedule: | |
- cron: '30 19 * * *' | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
strategy: | |
matrix: | |
branch: ['23_2', '24_1', '24_2'] | |
name: Run Packages Publishing workflow | |
steps: | |
- name: Get sources | |
uses: actions/checkout@v4 | |
with: | |
sparse-checkout: | | |
README.md | |
sparse-checkout-cone-mode: false | |
- name: Publish Packages (${{ matrix.branch }}) | |
run: | | |
gh workflow run packages_publishing.yml -f tag=daily --ref ${{ matrix.branch }} |