Skip to content

Commit 5df1b7e

Browse files
committed
fix inputs and published package parsing
1 parent d36f047 commit 5df1b7e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/publish-webapp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
id: get_tag
3131
uses: ./.github/actions/get-image-tag
3232
with:
33-
tag: ${{ github.event.inputs.image_tag }}
33+
tag: ${{ inputs.image_tag }}
3434

3535
- name: 🔢 Get the commit hash
3636
id: get_commit

.github/workflows/publish-worker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "🚢 Publish Worker"
1+
name: "⚒️ Publish Worker"
22

33
on:
44
workflow_call:
@@ -44,7 +44,7 @@ jobs:
4444
- id: get_tag
4545
uses: ./.github/actions/get-image-tag
4646
with:
47-
tag: ${{ github.event.inputs.image_tag }}
47+
tag: ${{ inputs.image_tag }}
4848

4949
- name: 🐋 Set up Docker Buildx
5050
uses: docker/setup-buildx-action@v3

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ jobs:
6262
uses: ./.github/workflows/publish-webapp.yml
6363
secrets: inherit
6464
with:
65-
image_tag: ${{ github.event.inputs.image_tag }}
65+
image_tag: ${{ inputs.image_tag }}
6666

6767
publish-worker:
6868
needs: [typecheck, units]
6969
uses: ./.github/workflows/publish-worker.yml
7070
secrets: inherit
7171
with:
72-
image_tag: ${{ github.event.inputs.image_tag }}
72+
image_tag: ${{ inputs.image_tag }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
if: steps.changesets.outputs.published == 'true'
8080
id: get_version
8181
run: |
82-
package_version=$(echo ${{ steps.changesets.outputs.publishedPackages }} | jq '.[0].version')
82+
package_version=$(echo '${{ steps.changesets.outputs.publishedPackages }}' | jq -r '.[0].version')
8383
echo "package_version=${package_version}" >> "$GITHUB_OUTPUT"
8484
8585
publish:

0 commit comments

Comments
 (0)