Skip to content

Commit

Permalink
MRG: fix upload wheel CI (#2974)
Browse files Browse the repository at this point in the history
Update paths for upload of wheels on release, based on
#2887.
  • Loading branch information
ctb committed Feb 5, 2024
1 parent 5e6fdb9 commit b265415
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: cibuildwheel
permissions: write-all

on:
push:
Expand Down Expand Up @@ -104,5 +105,5 @@ jobs:
- name: Release
uses: fnkr/github-action-ghr@v1
env:
GHR_PATH: ${{steps.fetch_artifacts.outputs.download-path}}/artifact
GHR_PATH: ${{steps.fetch_artifacts.outputs.download-path}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 2 additions & 4 deletions .github/workflows/build_wheel_all_archs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: maturin wheels
permissions: write-all

on:
pull_request: # use for testing modifications to this action
Expand All @@ -9,9 +10,6 @@ on:
schedule:
- cron: "0 0 * * *" # daily

permissions:
contents: read

jobs:

linux:
Expand Down Expand Up @@ -85,5 +83,5 @@ jobs:
- name: Release
uses: fnkr/github-action-ghr@v1
env:
GHR_PATH: ${{steps.fetch_artifacts.outputs.download-path}}/artifact
GHR_PATH: ${{steps.fetch_artifacts.outputs.download-path}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b265415

Please sign in to comment.