Skip to content

Commit

Permalink
Upload hidden files for staging (#886)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
normanmaurer committed Sep 4, 2024
1 parent b642fdf commit 6d1e85d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
name: ${{ matrix.setup }}-local-staging
path: ~/local-staging
if-no-files-found: error

include-hidden-files: true

stage-snapshot-windows:
runs-on: windows-2019
Expand Down Expand Up @@ -109,6 +109,7 @@ jobs:
name: windows-x86_64-local-staging
path: boringssl-static/local-staging
if-no-files-found: error
include-hidden-files: true

deploy-staged-snapshots:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
with:
name: prepare-release-workspace
path: ${{ github.workspace }}/**
include-hidden-files: true

stage-release-linux:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -147,6 +148,7 @@ jobs:
name: ${{ matrix.setup }}-local-staging
path: ~/local-staging
if-no-files-found: error
include-hidden-files: true

- name: Rollback release on failure
working-directory: ./prepare-release-workspace/
Expand Down Expand Up @@ -232,6 +234,7 @@ jobs:
name: windows-x86_64-local-staging
path: prepare-release-workspace/boringssl-static/local-staging
if-no-files-found: error
include-hidden-files: true

- name: Rollback release on failure
working-directory: prepare-release-workspace
Expand Down

0 comments on commit 6d1e85d

Please sign in to comment.