Skip to content

Commit 443fb44

Browse files
committed
chore(ci): reorder macos wheel setup steps
1 parent 84cae8c commit 443fb44

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/release-dev.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,15 +170,15 @@ jobs:
170170
with:
171171
fetch-depth: 0
172172

173-
- name: Mark workspace safe for git
174-
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
175-
176173
- name: Log in to GHCR
177174
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin
178175

179176
- name: Set up Docker Buildx
180177
uses: ./.github/actions/setup-buildx
181178

179+
- name: Mark workspace safe for git
180+
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
181+
182182
- name: Sync Python dependencies
183183
run: uv sync
184184

.github/workflows/release-tag.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,15 +192,15 @@ jobs:
192192
ref: ${{ inputs.tag || github.ref }}
193193
fetch-depth: 0
194194

195-
- name: Mark workspace safe for git
196-
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
197-
198195
- name: Log in to GHCR
199196
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin
200197

201198
- name: Set up Docker Buildx
202199
uses: ./.github/actions/setup-buildx
203200

201+
- name: Mark workspace safe for git
202+
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
203+
204204
- name: Sync Python dependencies
205205
run: uv sync
206206

0 commit comments

Comments
 (0)