Skip to content

Commit 73c4cee

Browse files
authored
Shared configs/workflows/nutritionfacts2 (#163)
* handle tags better from upstream * use full tag
1 parent 89dd556 commit 73c4cee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nutritionfacts-auto-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ jobs:
5757
if [ -z "$TAG" ]; then
5858
TAG="latest"
5959
fi
60-
echo "TAG=$TAG" >> $GITHUB_ENV
60+
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
6161
6262
- name: Update nutritionfacts deps
6363
shell: bash
6464
run: |
6565
set -euo pipefail
66-
pnpm -F nutritionfacts add "@instructure.ai/aiinfo@^${TAG#*@}"
66+
pnpm -F nutritionfacts add "${{ steps.set_tag.outputs.tag }}"
6767
6868
- name: Commit changes (if any)
6969
id: commit

0 commit comments

Comments
 (0)