Skip to content

Commit 8a02f45

Browse files
authored
Upload hidden files for staging (#14275)
Motivation: Due a change in the upload action of github we now need to explicit enable the uplaod of hidden files (dot-files). Not doing this breaks our staging workflow which depends on some of these files. See actions/upload-artifact#602 Modifications: Explicit set include-hidden-files: true Result: Staging works again
1 parent c0fdb8e commit 8a02f45

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

.github/workflows/ci-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
7676
name: ${{ matrix.setup }}-local-staging
7777
path: ~/local-staging
7878
if-no-files-found: error
79+
include-hidden-files: true
7980

8081
deploy-staged-snapshots:
8182
runs-on: ubuntu-latest

.github/workflows/ci-release-4.2.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
with:
7575
name: prepare-release-workspace
7676
path: ${{ github.workspace }}/**
77+
include-hidden-files: true
7778

7879
stage-release-linux:
7980
runs-on: ubuntu-latest
@@ -161,6 +162,7 @@ jobs:
161162
name: ${{ matrix.setup }}-local-staging
162163
path: ~/local-staging
163164
if-no-files-found: error
165+
include-hidden-files: true
164166

165167
- name: Rollback release on failure
166168
working-directory: ./prepare-release-workspace/

.github/workflows/ci-release-5.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
with:
7575
name: prepare-release-workspace
7676
path: ${{ github.workspace }}/**
77+
include-hidden-files: true
7778

7879
stage-release-linux:
7980
runs-on: ubuntu-latest
@@ -161,6 +162,7 @@ jobs:
161162
name: ${{ matrix.setup }}-local-staging
162163
path: ~/local-staging
163164
if-no-files-found: error
165+
include-hidden-files: true
164166

165167
- name: Rollback release on failure
166168
working-directory: ./prepare-release-workspace/

.github/workflows/ci-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
with:
7575
name: prepare-release-workspace
7676
path: ${{ github.workspace }}/**
77+
include-hidden-files: true
7778

7879
stage-release-linux:
7980
runs-on: ubuntu-latest
@@ -161,6 +162,7 @@ jobs:
161162
name: ${{ matrix.setup }}-local-staging
162163
path: ~/local-staging
163164
if-no-files-found: error
165+
include-hidden-files: true
164166

165167
- name: Rollback release on failure
166168
working-directory: ./prepare-release-workspace/

0 commit comments

Comments
 (0)