Skip to content

Commit

Permalink
lock file artifact before build
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Dec 18, 2024
1 parent 3f2d7b5 commit d1e7629
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ jobs:
spack -e . concretize -Uf
spack -e . find
- name: Spack build
run: |
spack -e . install --no-check-signature --show-log-on-error
- name: Lockfile bookkeeping
run: |
Expand All @@ -112,6 +109,10 @@ jobs:
spack_*.lock
if-no-files-found: error

- name: Spack build
run: |
spack -e . install --no-check-signature --show-log-on-error
- name: Add lock files to release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit d1e7629

Please sign in to comment.