Skip to content

Commit 820f94c

Browse files
committed
Fix container CI after artifact name changes
1 parent 5e304a8 commit 820f94c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/code.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
uses: docker/build-push-action@v3
154154
with:
155155
build-args: |
156-
PIP_OPTIONS=-r lockfiles/requirements.txt dist/*.whl
156+
PIP_OPTIONS=-r lockfiles_dist_/requirements.txt dist_dist_/*.whl
157157
push: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
158158
load: ${{ ! (github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) }}
159159
tags: ${{ steps.meta.outputs.tags }}
@@ -181,7 +181,7 @@ jobs:
181181

182182
- name: Fixup blank lockfiles
183183
# Github release artifacts can't be blank
184-
run: for f in lockfiles/*; do [ -s $f ] || echo '# No requirements' >> $f; done
184+
run: for f in lockfiles_dist_/*; do [ -s $f ] || echo '# No requirements' >> $f; done
185185

186186
- name: Github Release
187187
# We pin to the SHA, not the tag, for security reasons.
@@ -190,8 +190,8 @@ jobs:
190190
with:
191191
prerelease: ${{ contains(github.ref_name, 'a') || contains(github.ref_name, 'b') || contains(github.ref_name, 'rc') }}
192192
files: |
193-
dist/*
194-
lockfiles/*
193+
dist_dist_/*
194+
lockfiles_dist_/*
195195
generate_release_notes: true
196196
env:
197197
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)