Skip to content

Commit

Permalink
downgrade upload-artifact action to v3
Browse files Browse the repository at this point in the history
GitHub Enterpise Server is not compatible with upload-artifact@v4+.
https://github.com/actions/upload-artifact/tree/v4

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #24029)

(cherry picked from commit 0892716)
  • Loading branch information
quarckster authored and t8m committed Apr 4, 2024
1 parent 2f78e01 commit 86d2bbd
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@basic-gcc"
path: artifacts/
Expand All @@ -115,7 +115,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@basic-clang"
path: artifacts/
Expand All @@ -140,7 +140,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@self-hosted-${{ matrix.os }}"
path: artifacts/
Expand All @@ -162,7 +162,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@minimal"
path: artifacts/
Expand All @@ -185,7 +185,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@no-deprecated"
path: artifacts/
Expand All @@ -207,7 +207,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@no-shared-ubuntu"
path: artifacts/
Expand All @@ -234,7 +234,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@no-shared-${{ matrix.os }}"
path: artifacts/
Expand All @@ -260,7 +260,7 @@ jobs:
- name: make test
run: .github/workflows/make-test OPENSSL_TEST_RAND_ORDER=0 TESTS="-test_fuzz* -test_ssl_* -test_sslapi -test_evp -test_cmp_http -test_verify -test_cms -test_store -test_enc -[01][0-9]"
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@non-caching"
path: artifacts/
Expand All @@ -286,7 +286,7 @@ jobs:
- name: make test
run: .github/workflows/make-test OPENSSL_TEST_RAND_ORDER=0
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@address_ub_sanitizer"
path: artifacts/
Expand All @@ -312,7 +312,7 @@ jobs:
- name: make test
run: .github/workflows/make-test OPENSSL_TEST_RAND_ORDER=0 TESTS="test_fuzz*"
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@fuzz_tests"
path: artifacts/
Expand Down Expand Up @@ -340,7 +340,7 @@ jobs:
- name: make test
run: .github/workflows/make-test OPENSSL_TEST_RAND_ORDER=0
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@memory_sanitizer"
path: artifacts/
Expand All @@ -366,7 +366,7 @@ jobs:
- name: make test
run: .github/workflows/make-test V=1 TESTS="test_threads test_internal_provider test_provfetch test_provider test_pbe test_evp_kdf test_pkcs12 test_store test_evp test_quic*"
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@threads_sanitizer"
path: artifacts/
Expand All @@ -390,7 +390,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@enable_non-default_options"
path: artifacts/
Expand Down Expand Up @@ -420,7 +420,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@full_featured"
path: artifacts/
Expand All @@ -442,7 +442,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@no-legacy"
path: artifacts/
Expand All @@ -464,7 +464,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@legacy"
path: artifacts/
Expand Down Expand Up @@ -506,7 +506,7 @@ jobs:
run: ../source/.github/workflows/make-test
working-directory: ./build
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@out-of-readonly-source-and-install-ubuntu"
path: build/artifacts/
Expand Down Expand Up @@ -551,7 +551,7 @@ jobs:
run: ../source/.github/workflows/make-test
working-directory: ./build
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "ci@out-of-readonly-source-and-install-${{ matrix.os }}"
path: build/artifacts/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cross-compiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ jobs:
TESTS="test_evp*" \
QEMU_LD_PREFIX=/usr/${{ matrix.platform.arch }}
- name: save artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: "cross-compiles@${{ matrix.platform.arch }}"
path: artifacts/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fips-checksums.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: save PR number
run: echo ${{ github.event.number }} > ./artifact/pr_num
- name: save artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: fips_checksum
path: artifact/
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
- name: save PR number
run: echo ${{ github.event.number }} > ./artifact/pr_num
- name: save artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: abidiff
path: artifact/
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fuzz-seconds: 600
dry-run: false
- name: Upload Crash
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
if: failure()
with:
name: artifacts
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/provider-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
-providers
working-directory: ${{ matrix.release.dir }}

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.release.tgz }}
path: ${{ matrix.release.tgz }}
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
working-directory: ${{ matrix.branch.dir }}

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.branch.tgz }}
path: ${{ matrix.branch.tgz }}
Expand Down

0 comments on commit 86d2bbd

Please sign in to comment.