Skip to content

Commit

Permalink
put the working directory back into each step
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Oct 18, 2024
1 parent 0765427 commit 968baa8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ on:
defaults:
run:
shell: bash
working-directory: ./${{ inputs.package }}

jobs:
publish:
Expand All @@ -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 \
Expand All @@ -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 }} \
Expand All @@ -88,3 +89,4 @@ jobs:
--query repositoryEndpoint)
twine upload dist/*
working-directory: ./${{ inputs.package }}

0 comments on commit 968baa8

Please sign in to comment.