From 968baa8847f7e363f27afec5fe209d0057eea1b4 Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Fri, 18 Oct 2024 09:39:22 -0400 Subject: [PATCH] put the working directory back into each step --- .github/workflows/publish-internal.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-internal.yml b/.github/workflows/publish-internal.yml index 60dbe1db..2012a51b 100644 --- a/.github/workflows/publish-internal.yml +++ b/.github/workflows/publish-internal.yml @@ -33,7 +33,6 @@ on: defaults: run: shell: bash - working-directory: ./${{ inputs.package }} jobs: publish: @@ -55,6 +54,7 @@ jobs: aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - id: package run: echo "version=$(hatch version)" >> $GITHUB_OUTPUT + working-directory: ./${{ inputs.package }} - id: published run: | versions_published="$(aws codeartifact list-package-versions \ @@ -74,6 +74,7 @@ jobs: hatch version ${{ steps.next.outputs.internal_release_version }} hatch build hatch run build:check-all + working-directory: ./${{ inputs.package }} - run: | export TWINE_PASSWORD=$(aws codeartifact get-authorization-token \ --domain ${{ vars.AWS_DOMAIN }} \ @@ -88,3 +89,4 @@ jobs: --query repositoryEndpoint) twine upload dist/* + working-directory: ./${{ inputs.package }}