Skip to content

Commit

Permalink
chore: remove name and allow multiple merge in artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBredehoft committed Apr 8, 2024
1 parent 9615f36 commit 31509bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/update_licenses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ jobs:
make licenses
# Upload the updated license files as artifacts, if they exist
# There's no need to specify a name as all files are expected to be different. Also, it's
# possible that no files have been generated if licenses have already been done for some
# configuration(s)
- uses: actions/upload-artifact@v4
with:
name: licenses-${{ matrix.config.os_name }}
if-no-files-found: ignore
path: |
deps_licenses/licenses_${{ matrix.config.os_name }}_user.txt
Expand All @@ -106,10 +108,12 @@ jobs:
token: ${{ secrets.BOT_TOKEN }}

# Retrieve all updated license files
# Enable merge multiple to download all files in the 'deps_licenses' directory
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: deps_licenses/
merge-multiple: true

# If the target branch is main or a release branch, a pull request is opened for everyone to
# review
Expand Down

0 comments on commit 31509bb

Please sign in to comment.