Bump actions/upload-artifact from 4.4.3 to 4.5.0 in /component-changes #464
Workflow file for this run
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
# Simple workflow for deploying static content to GitHub Pages | |
name: Publish files | |
# yamllint disable-line rule:truthy | |
on: | |
schedule: | |
# Run twice a day | |
- cron: "11 5,17 * * *" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Run when a PR is opened or updated | |
pull_request: | |
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | |
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
component-changes: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Build component changes | |
uses: ./component-changes | |
consolidate-artifacts: | |
runs-on: ubuntu-latest | |
needs: | |
- component-changes | |
steps: | |
- name: Download artifacts | |
uses: actions/[email protected] | |
with: | |
path: output | |
merge-multiple: true | |
- name: Upload consolidated artifact | |
uses: actions/[email protected] | |
with: | |
path: output | |
publish: | |
name: Publish to GitHub Pages | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
needs: consolidate-artifacts | |
permissions: | |
pages: write | |
id-token: write | |
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' | |
steps: | |
- name: Setup Pages | |
uses: actions/[email protected] | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/[email protected] |