Skip to content

Commit

Permalink
chore: artifact action v3 upgrade (#1926)
Browse files Browse the repository at this point in the history
  • Loading branch information
cka-y authored Nov 26, 2024
1 parent cf0a275 commit 9f06d68
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
arguments: testAggregateTestReport
- name: Persist aggregated test reports on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Test report - Java
path: build/reports/tests/unit-test/aggregated-results/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/end_to_end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
with:
arguments: shadowJar
- name: Persist gtfs-validator snapshot jar
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: gtfs-validator-snapshot
path: cli/build/libs/gtfs-validator-*-cli.jar
Expand All @@ -78,7 +78,7 @@ jobs:
echo "matrix=$DATASETS" >> $GITHUB_OUTPUT
- name: Persist metadata
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: datasets_metadata
path: scripts/mobility-database-harvester/datasets_metadata
Expand All @@ -94,7 +94,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Download latest changes .jar file from previous job
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: gtfs-validator-snapshot
path: gtfs-validator-snapshot
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/notice_migration_generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: ./gradlew webClientRulesJSON

- name: Upload previous rules.json
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: rules-${{ env.PREVIOUS_VERSION }}
path: web/client/static/rules.json
Expand All @@ -55,13 +55,13 @@ jobs:
run: ./gradlew webClientRulesJSON

- name: Upload current rules.json
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: rules-${{ github.event.inputs.NEW_VERSION }}
path: web/client/static/rules.json

- name: Download all workflow artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Validate download
run: ls -la rules*
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_pack_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
arguments: testAggregateTestReport --continue
- name: Persist aggregated test reports on failure - Java ${{ matrix.java_version }} on ${{ matrix.os }}
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Test report - Java ${{ matrix.java_version }} on ${{ matrix.os }}
path: build/reports/tests/unit-test/aggregated-results/
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
with:
arguments: shadowJar
- name: Persist cli app jar
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Application - CLI executable - Java ${{ matrix.java_version }} JAR file -- ${{ matrix.os }}
path: cli/build/libs/gtfs-validator-*-cli.jar
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
with:
arguments: aggregateJavadoc
- name: Persist javadoc
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Documentation - javadoc - Java ${{ matrix.java_version }} - ${{ matrix.java_version }}
path: build/docs/javadoc/

0 comments on commit 9f06d68

Please sign in to comment.