fix inputs and published package parsing

This commit is contained in:
nicktrn
2024-09-16 08:17:59 +01:00
parent d36f0476e4
commit 5df1b7e331
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
id: get_tag
uses: ./.github/actions/get-image-tag
with:
tag: ${{ github.event.inputs.image_tag }}
tag: ${{ inputs.image_tag }}
- name: 🔢 Get the commit hash
id: get_commit
+2 -2
View File
@@ -1,4 +1,4 @@
name: "🚢 Publish Worker"
name: "⚒️ Publish Worker"
on:
workflow_call:
@@ -44,7 +44,7 @@ jobs:
- id: get_tag
uses: ./.github/actions/get-image-tag
with:
tag: ${{ github.event.inputs.image_tag }}
tag: ${{ inputs.image_tag }}
- name: 🐋 Set up Docker Buildx
uses: docker/setup-buildx-action@v3
+2 -2
View File
@@ -62,11 +62,11 @@ jobs:
uses: ./.github/workflows/publish-webapp.yml
secrets: inherit
with:
image_tag: ${{ github.event.inputs.image_tag }}
image_tag: ${{ inputs.image_tag }}
publish-worker:
needs: [typecheck, units]
uses: ./.github/workflows/publish-worker.yml
secrets: inherit
with:
image_tag: ${{ github.event.inputs.image_tag }}
image_tag: ${{ inputs.image_tag }}
+1 -1
View File
@@ -79,7 +79,7 @@ jobs:
if: steps.changesets.outputs.published == 'true'
id: get_version
run: |
package_version=$(echo ${{ steps.changesets.outputs.publishedPackages }} | jq '.[0].version')
package_version=$(echo '${{ steps.changesets.outputs.publishedPackages }}' | jq -r '.[0].version')
echo "package_version=${package_version}" >> "$GITHUB_OUTPUT"
publish: