Skip to content

Commit

Permalink
CH-11556 Upgrade version of download-artifact action (#75)
Browse files Browse the repository at this point in the history
* CH-11556 Upgrade version of download-artifact action

* CH-11556 Enable include-hidden-files for upload-artifact action
  • Loading branch information
duy-dylan-tran-covergo authored Sep 5, 2024
1 parent 0d8033e commit d6724db
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gflows/libs/build_publish_steps.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ uses: actions/upload-artifact@v4
with:
name: #@ artifact_name
path: #@ path
include-hidden-files: true
#@ end
---
#@ def _publish_test_result_as_check_step(filePath, check_name):
Expand Down
1 change: 1 addition & 0 deletions .gflows/libs/integration-tests-legacy-steps.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@
with:
name: #@ "{} diagnostics".format(test_suites.name)
path: diagnostics/*
include-hidden-files: true
#@ end
1 change: 1 addition & 0 deletions .gflows/libs/job_build_nuget.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
with:
name: Nuget packages
path: ./nuget
include-hidden-files: true
#@ end
---
#@ def generate_nuget_build_job(nuget, sections):
Expand Down
2 changes: 1 addition & 1 deletion .gflows/libs/job_publish_nuget.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

---
#@ def generate_nuget_publish_job_steps():
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: Nuget packages
path: ./nuget
Expand Down
2 changes: 1 addition & 1 deletion .gflows/libs/job_scan_code_net.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
- name: CoverGo Nuget
run: dotnet nuget update source github --username ${{ secrets.PAT_USER_READ_PACKAGES }} --password ${{ secrets.PAT_READ_PACKAGES }} --store-password-in-clear-text
- name: Download Coverage Artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: ./
- name: Fix coverage paths
Expand Down
14 changes: 12 additions & 2 deletions github-sample/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ jobs:
with:
name: Nuget packages
path: ./nuget
include-hidden-files: true
nuget-publish-auth-nuget:
name: Publish Auth client nuget
timeout-minutes: 20
Expand All @@ -176,7 +177,7 @@ jobs:
- nuget-build-auth-nuget
- acceptance-tests
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: Nuget packages
path: ./nuget
Expand Down Expand Up @@ -246,6 +247,7 @@ jobs:
with:
name: Nuget packages
path: ./nuget
include-hidden-files: true
nuget-publish-auth-nuget-default:
name: Publish Auth client nuget with default dependencies
timeout-minutes: 20
Expand All @@ -259,7 +261,7 @@ jobs:
- integration-tests-legacy-small
- integration-tests-legacy-big
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: Nuget packages
path: ./nuget
Expand Down Expand Up @@ -465,6 +467,7 @@ jobs:
bce
!fge
!hep/**/.tmp
include-hidden-files: true
- name: Publish Unit tests results as check
uses: docker://ghcr.io/enricomi/publish-unit-test-result-action:latest
if: always()
Expand Down Expand Up @@ -574,12 +577,14 @@ jobs:
with:
name: Integration tests environment diagnostics
path: investigate/*
include-hidden-files: true
- name: Upload Integration tests results as artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: Integration tests results
path: TestResults
include-hidden-files: true
- name: Publish Integration tests results as check
uses: docker://ghcr.io/enricomi/publish-unit-test-result-action:latest
if: always()
Expand Down Expand Up @@ -703,12 +708,14 @@ jobs:
with:
name: Acceptance tests environment diagnostics
path: investigate/*
include-hidden-files: true
- name: Upload Acceptance tests results as artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: Acceptance tests results
path: TestResults
include-hidden-files: true
- name: Publish Acceptance tests results as check
uses: docker://ghcr.io/enricomi/publish-unit-test-result-action:latest
if: always()
Expand Down Expand Up @@ -858,12 +865,14 @@ jobs:
with:
name: Integration API tests environment diagnostics
path: investigate/*
include-hidden-files: true
- name: Upload Integration API tests results as artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: Integration API tests results
path: abc
include-hidden-files: true
- name: Publish Integration API tests results as check
uses: docker://ghcr.io/enricomi/publish-unit-test-result-action:latest
if: always()
Expand Down Expand Up @@ -1199,6 +1208,7 @@ jobs:
with:
name: Big tenants legacy integration tests diagnostics
path: diagnostics/*
include-hidden-files: true
docker-build-auth-mongo:
name: Build Mongo db for Auth image
timeout-minutes: 20
Expand Down

0 comments on commit d6724db

Please sign in to comment.