Use a default check for the "env" variable in apple_sdk_name (#1605) #339
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish release | |
| permissions: | |
| pull-requests: write | |
| contents: write | |
| id-token: write # Required for OIDC token exchange | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| release-plz-release: | |
| if: github.repository_owner == 'rust-lang' | |
| name: Release-plz release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Run release-plz | |
| uses: release-plz/[email protected] | |
| with: | |
| command: release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |