Skip to content

Commit

Permalink
Use correct setting for working-directory (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgodlew authored Dec 6, 2024
1 parent fcdb017 commit 2a9af04
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# maturin generate-ci github
#
name: CI
name: Release

on:
push:
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
args: --release --out dist
sccache: 'true'
manylinux: auto
working_directory: hf_xet
working-directory: hf_xet
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
args: --release --out dist
sccache: 'true'
manylinux: musllinux_1_2
working_directory: hf_xet
working-directory: hf_xet
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
target: ${{ matrix.platform.target }}
args: --release --out dist
sccache: 'true'
working_directory: hf_xet
working-directory: hf_xet
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand All @@ -135,7 +135,7 @@ jobs:
target: ${{ matrix.platform.target }}
args: --release --out dist
sccache: 'true'
working_directory: hf_xet
working-directory: hf_xet
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand All @@ -151,7 +151,7 @@ jobs:
with:
command: sdist
args: --out dist
working_directory: hf_xet
working-directory: hf_xet
- name: Upload sdist
uses: actions/upload-artifact@v4
with:
Expand All @@ -165,15 +165,13 @@ jobs:
needs: [ linux, musllinux, windows, macos, sdist ]
steps:
- uses: actions/download-artifact@v4
working_directory: hf_xet
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
command: upload
args: --non-interactive --skip-existing wheels-*/*
working_directory: hf_xet

release-github:
name: Release GitHub
Expand All @@ -184,8 +182,6 @@ jobs:
needs: [ linux, musllinux, windows, macos, sdist ]
steps:
- uses: actions/download-artifact@v4
working_directory: hf_xet
- name: Publish to GitHub Releases
run: |
gh release upload ${{github.event.release.tag_name}} wheels-*/*
working_directory: hf_xet
gh release upload ${{github.event.release.tag_name}} wheels-*/*

0 comments on commit 2a9af04

Please sign in to comment.