Skip to content

Commit

Permalink
Try to fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
honnibal committed Jul 22, 2024
1 parent 6c7ce8c commit 20465c2
Showing 1 changed file with 33 additions and 23 deletions.
56 changes: 33 additions & 23 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,32 @@ on:
- created

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# macos-13 is an intel runner, macos-14 is apple silicon
os: [ubuntu-latest, windows-latest, macos-13]
#build_wheels:
# name: Build wheels on ${{ matrix.os }}
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# # macos-13 is an intel runner, macos-14 is apple silicon
# os: [ubuntu-latest, windows-latest, macos-13]

steps:
- uses: actions/checkout@v4
# steps:
# - uses: actions/checkout@v4

- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_SOME_OPTION: value
with:
package-dir: .
output-dir: wheelhouse
config-file: "{package}/pyproject.toml"
# - name: Build wheels
# uses: pypa/[email protected]
# env:
# CIBW_SOME_OPTION: value
# with:
# package-dir: .
# output-dir: wheelhouse
# config-file: "{package}/pyproject.toml"

- name: Upload release binaries
uses: alexellis/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
with:
asset_paths: '["./dist/*.whl"]'
# - name: Upload release binaries
# uses: alexellis/[email protected]
# env:
# GITHUB_TOKEN: ${{ github.token }}
# with:
# asset_paths: '["./dist/*.whl"]'

build_sdist:
name: Build source distribution
Expand All @@ -47,3 +47,13 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
asset_paths: '["./dist/*.tar.gz"]'
permissions:
contents: write
checks: write

actions: read
issues: read
packages: write
pull-requests: read
repository-projects: read
statuses: read

0 comments on commit 20465c2

Please sign in to comment.