Skip to content

Commit

Permalink
Update upload-artifact action (#8487)
Browse files Browse the repository at this point in the history
* Update upload-artifact action

* Update download-artifact action
  • Loading branch information
N-o-Z authored Jan 9, 2025
1 parent a71c169 commit b2b1714
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/actions/bootstrap-test-lakefs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
using: "composite"
steps:
- name: Retrieve generated code
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: generated-code
path: /tmp/
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/compatibility-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
tar -czf /tmp/generated.tar.gz .
- name: Store generated code
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: generated-code
path: /tmp/generated.tar.gz
Expand All @@ -54,7 +54,7 @@ jobs:
mvn -Passembly -DfinalName=client -DskipTests --batch-mode --update-snapshots package
- name: Store client assembly
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: client-assembly
path: clients/hadoopfs/target/client.jar
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
id: go

- name: Retrieve generated code
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: generated-code
path: /tmp/
Expand All @@ -108,7 +108,7 @@ jobs:
outputs: type=docker,dest=/tmp/lakefs.tar

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lakefs-image
path: /tmp/lakefs.tar
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
LAKEFS_BLOCKSTORE_S3_CREDENTIALS_SECRET_ACCESS_KEY: ${{ secrets.ESTI_AWS_SECRET_ACCESS_KEY }}

- name: Retrieve client
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: client-assembly
path: clients/hadoopfs/target
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:
uses: docker/setup-buildx-action@v2

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: lakefs-image
path: /tmp
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/esti.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
# must upload artifact in order to download generated later
- name: Store generated code
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: generated-code
path: /tmp/generated.tar.gz
Expand All @@ -90,7 +90,7 @@ jobs:
uses: actions/checkout@v4

- name: Retrieve generated code
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: generated-code
path: /tmp/
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
run: echo "value=$RANDOM" >> $GITHUB_OUTPUT

- name: Retrieve generated code
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: generated-code
path: /tmp/
Expand Down Expand Up @@ -398,7 +398,7 @@ jobs:
working-directory: clients/hadoopfs
run: mvn -Passembly -DfinalName=client --batch-mode --update-snapshots package -DskipTests
- name: Store lakeFS HadoopFS
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lakefs-hadoopfs
path: clients/hadoopfs/target/client.jar
Expand All @@ -420,7 +420,7 @@ jobs:
working-directory: test/spark/app
run: sbt package
- name: Store Spark App
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: spark-apps
path: test/spark/app/target/
Expand All @@ -445,13 +445,13 @@ jobs:
uses: actions/checkout@v4

- name: Download lakeFS HadoopFS
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: lakefs-hadoopfs
path: clients/hadoopfs/target

- name: Download Spark App
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: spark-apps
path: test/spark/app/target/
Expand Down Expand Up @@ -767,7 +767,7 @@ jobs:

# Retrieve ACL server binary from cache
- name: Retrieve generated code
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: generated-code
path: /tmp/
Expand Down Expand Up @@ -843,7 +843,7 @@ jobs:

# Retrieve ACL server binary from cache
- name: Retrieve generated code
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: generated-code
path: /tmp/
Expand Down Expand Up @@ -917,7 +917,7 @@ jobs:

# Retrieve ACL server binary from cache
- name: Retrieve generated code
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: generated-code
path: /tmp/
Expand Down Expand Up @@ -974,7 +974,7 @@ jobs:

# Retrieve ACL server binary from cache
- name: Retrieve generated code
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: generated-code
path: /tmp/
Expand Down Expand Up @@ -1038,7 +1038,7 @@ jobs:

# Retrieve ACL server binary from cache
- name: Retrieve generated code
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: generated-code
path: /tmp/
Expand Down Expand Up @@ -1218,7 +1218,7 @@ jobs:
BASE_URL: http://localhost:8000
working-directory: webui
run: npx playwright test --project=common
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: (success() || failure())
with:
name: playwright-report
Expand Down Expand Up @@ -1337,7 +1337,7 @@ jobs:
BASE_URL: http://localhost:8000
working-directory: webui
run: npx playwright test --project=quickstart
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: (success() || failure())
with:
name: playwright-report
Expand Down

0 comments on commit b2b1714

Please sign in to comment.