Skip to content

Commit

Permalink
ci: fix secrets inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
seandstewart committed Jun 23, 2024
1 parent ac196ac commit 88e0574
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,16 @@ jobs:

build-wheels:
needs: [ release-version ]
runs-on: ${{ matrix.os }}
uses: ./.github/workflows/.build-matrix.yml
secrets: inherit
strategy:
fail-fast: false
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/bootstrap-environ
id: bootstrap-environ
with:
python-version: ${{ matrix.python-version }}
runner: ${{ matrix.os }}
- uses: ./.github/workflows/.build-matrix.yml
with:
runner: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
- name: Store dist artifacts
uses: actions/upload-artifact@v4
with:
name: typelib-dist
path: dist
with:
runner: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}

build-sdist:
needs: [release-version]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on: [push, pull_request]
jobs:
ci:
uses: ./.github/workflows/.validate-matrix.yml
secrets: inherit
name: "${{ matrix.os }} (Python ${{ matrix.python-version }})"
strategy:
fail-fast: false
Expand Down

0 comments on commit 88e0574

Please sign in to comment.