build(deps): bump nixpkgs from f13ff45 to 0e251e2 (#1532)
#1204
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
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| name: release-please | |
| jobs: | |
| release-please: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| release_created: ${{ steps.release.outputs.release_created }} | |
| tag_name: ${{ steps.release.outputs.tag_name }} | |
| steps: | |
| - uses: googleapis/release-please-action@v5 | |
| id: release | |
| with: | |
| token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }} | |
| prepare-release-macos-version: | |
| needs: release-please | |
| if: ${{ needs.release-please.outputs.release_created == 'true' }} | |
| runs-on: ubuntu-latest | |
| outputs: | |
| macos_bundle_version: ${{ steps.meta.outputs.macos_bundle_version }} | |
| macos_short_version: ${{ steps.meta.outputs.macos_short_version }} | |
| steps: | |
| - name: Compute macOS bundle versions | |
| id: meta | |
| run: | | |
| TAG="${{ needs.release-please.outputs.tag_name }}" | |
| VERSION="${TAG#v}" | |
| echo "macos_bundle_version=${VERSION}" >> "$GITHUB_OUTPUT" | |
| echo "macos_short_version=${VERSION}" >> "$GITHUB_OUTPUT" | |
| publish-release-artifacts: | |
| needs: | |
| - release-please | |
| - prepare-release-macos-version | |
| if: ${{ needs.release-please.outputs.release_created == 'true' }} | |
| # Build-provenance permissions, required here because a called workflow | |
| # can only narrow what its caller granted — see the header comment in | |
| # publish-artifacts.yml. Scoped to this job rather than raised | |
| # workflow-wide: the release-please job above has no business minting an | |
| # OIDC token. | |
| permissions: | |
| contents: write | |
| id-token: write | |
| attestations: write | |
| uses: ./.github/workflows/publish-artifacts.yml | |
| with: | |
| release_tag: ${{ needs.release-please.outputs.tag_name }} | |
| version_override: ${{ needs.release-please.outputs.tag_name }} | |
| macos_bundle_version: ${{ needs.prepare-release-macos-version.outputs.macos_bundle_version }} | |
| macos_short_version: ${{ needs.prepare-release-macos-version.outputs.macos_short_version }} | |
| secrets: | |
| upload_token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }} | |
| # # TODO: Add these once Developer ID signing is set up | |
| # mac_developer_id_cert: ${{ secrets.mac_developer_id_cert }} | |
| # mac_developer_id_key: ${{ secrets.mac_developer_id_key }} | |
| # mac_dev_id_keychain_pwd: ${{ secrets.mac_dev_id_keychain_pwd }} | |
| # apple_notary_api_issuer: ${{ secrets.apple_notary_api_issuer }} | |
| # apple_notary_api_key_id: ${{ secrets.apple_notary_api_key_id }} | |
| # apple_notary_api_key: ${{ secrets.apple_notary_api_key }} | |
| # apple_team_id: ${{ secrets.apple_team_id }} |