Skip to content

Commit

Permalink
Migrate sync workflow to actions/[upload-download]@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
umbynos committed May 16, 2024
1 parent 0b9b24d commit d96af0e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ jobs:
file-url: https://raw.githubusercontent.com/arduino/tooling-project-assets/main/workflow-templates/assets/sync-labels/${{ matrix.filename }}

- name: Pass configuration files to next job via workflow artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: |
*.yaml
*.yml
if-no-files-found: error
name: ${{ env.CONFIGURATIONS_ARTIFACT }}
name: ${{ env.CONFIGURATIONS_ARTIFACT }}-${{ matrix.filename }}

sync:
needs: download
Expand Down Expand Up @@ -109,10 +109,11 @@ jobs:
uses: actions/checkout@v4

- name: Download configuration files artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ env.CONFIGURATIONS_ARTIFACT }}
pattern: ${{ env.CONFIGURATIONS_ARTIFACT }}-* # Download all configuration files
path: ${{ env.CONFIGURATIONS_FOLDER }}
merge-multiple: true

- name: Remove unneeded artifact
uses: geekyeggo/delete-artifact@v5
Expand Down

0 comments on commit d96af0e

Please sign in to comment.