Skip to content

Commit 37b53ef

Browse files
Change auth sock to global env var
1 parent 8b86748 commit 37b53ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
env:
2222
VERSION: ${{ inputs.VERSION }}
2323
GH_TOKEN: ${{ github.token }}
24+
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
2425
steps:
2526
- name: git clone develop
2627
uses: actions/checkout@v4
@@ -41,8 +42,6 @@ jobs:
4142
run: hatch version ${{ env.VERSION }}
4243

4344
- name: configure git with the bot credentials
44-
env:
45-
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
4645
run: |
4746
mkdir -p ~/.ssh
4847
ssh-keyscan github.com >> ~/.ssh/known_hosts

0 commit comments

Comments
 (0)