Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit b2f8c6e

Browse files
committed
Move the fixup back to release
1 parent 8883896 commit b2f8c6e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/actions/install_requirements/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ runs:
3333
pip freeze --exclude-editable > lockfiles/${{ inputs.requirements_file }}
3434
# delete the self referencing line and make sure it isn't blank
3535
sed -i '/file:/d' lockfiles/${{ inputs.requirements_file }}
36-
[ -s ${{ inputs.requirements_file }} ] || echo '# No requirements' >> ${{ inputs.requirements_file }}
3736
shell: bash
3837

3938
- name: Upload lockfiles

.github/workflows/code.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,10 @@ jobs:
173173
steps:
174174
- uses: actions/download-artifact@v3
175175

176+
- name: Fixup blank lockfiles
177+
# Github release artifacts can't be blank
178+
run: for f in lockfiles/*; do [ -s $f ] || echo '# No requirements' >> $f; done
179+
176180
- name: Github Release
177181
# We pin to the SHA, not the tag, for security reasons.
178182
# https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions

0 commit comments

Comments
 (0)