Skip to content

Commit

Permalink
chore(deps): update actions/upload-artifact action to v4
Browse files Browse the repository at this point in the history
The v4 download-artifact action cannot download artifacts uploaded
by the v3 version of the upload-artifact action.
  • Loading branch information
cc-ju committed Jan 12, 2024
1 parent 9016506 commit 982e8fc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-java-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ jobs:
arguments: build -Pversion=${{ inputs.version }} generateLicenseReport
build-root-directory: services/${{ inputs.service_name }}
- name: 📦 Upload JAR
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.service_name }}-jar
path: ./services/${{ inputs.service_name }}/build/libs/${{ inputs.service_name }}-*.jar
- name: 📦 Upload license report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.service_name }}-license
path: ./services/${{ inputs.service_name }}/build/distributions/license-report.zip
- name: 📦 Upload test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lpt-locust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
pip-licenses --with-license-file \
--format html --with-notice-file --no-license-path >licenses.html
- name: 📦 Upload license report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: license-report
path: ./test/lpt-locust/licenses.html
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
working-directory: ./services/ui
run: npm run test:ci
- name: 📦 Upload test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
Expand All @@ -54,7 +54,7 @@ jobs:
working-directory: ./services/ui
run: npm run build
- name: 📦 Upload build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ui-build
path: ./services/ui/build
Expand All @@ -64,7 +64,7 @@ jobs:
npm run license-report >licenses.txt
zip -r license-report.zip licenses licenses.txt
- name: 📦 Upload license report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: license-report
path: ./services/ui/license-report.zip
Expand Down

0 comments on commit 982e8fc

Please sign in to comment.