Skip to content

Commit

Permalink
Update actions (#45)
Browse files Browse the repository at this point in the history
* Update rust action

* update artifacts
  • Loading branch information
mpiannucci authored Jul 10, 2024
1 parent 6564fd6 commit 30ab228
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-linux-${{ matrix.platform.target }}
path: dist
path: python/dist

musllinux:
runs-on: ${{ matrix.platform.runner }}
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-musllinux-${{ matrix.platform.target }}
path: dist
path: python/dist

windows:
runs-on: ${{ matrix.platform.runner }}
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-windows-${{ matrix.platform.target }}
path: dist
path: python/dist

macos:
runs-on: ${{ matrix.platform.runner }}
Expand All @@ -135,7 +135,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-macos-${{ matrix.platform.target }}
path: dist
path: python/dist

sdist:
runs-on: ubuntu-latest
Expand All @@ -151,7 +151,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-sdist
path: dist
path: python/dist

release:
name: Release
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,15 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: publish gribberish-types
run: cargo publish -p gribberish-types
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: publish gribberish-macros
run: cargo publish -p gribberish-macros
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: publish gribberish
run: cargo publish -p gribberish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit 30ab228

Please sign in to comment.