forked from actions/python-versions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from colesbury/quansight
Support building free-threaded CPython
- Loading branch information
Showing
17 changed files
with
405 additions
and
39 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# This reusable workflow is used by actions/*-versions repositories | ||
# It is designed to create a PR with update of versions-manifest.json when a new release is published | ||
# The GITHUB_TOKEN secret is used to create versions-manifest.json and publish related PR | ||
|
||
name: Create Pull Request (called indirectly) | ||
on: | ||
workflow_call: | ||
inputs: | ||
tool-name: | ||
description: 'Name of the tool for which PR is created' | ||
required: true | ||
type: string | ||
|
||
defaults: | ||
run: | ||
shell: pwsh | ||
|
||
jobs: | ||
create_pr: | ||
name: Create Pull Request | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
|
||
- name: Create versions-manifest.json | ||
run: | | ||
./nogil-helpers/manifest-generator.ps1 -RepositoryFullName "$env:GITHUB_REPOSITORY" ` | ||
-GitHubAccessToken "${{ secrets.GITHUB_TOKEN }}" ` | ||
-OutputFile "./versions-manifest.json" ` | ||
-ConfigurationFile "./config/${{ inputs.tool-name }}-manifest-config.json" | ||
- name: Create GitHub PR | ||
run: | | ||
$formattedDate = Get-Date -Format "MM/dd/yyyy" | ||
./helpers/github/create-pull-request.ps1 ` | ||
-RepositoryFullName "$env:GITHUB_REPOSITORY" ` | ||
-AccessToken "${{ secrets.GITHUB_TOKEN }}" ` | ||
-BranchName "update-versions-manifest-file" ` | ||
-CommitMessage "Update versions-manifest" ` | ||
-PullRequestTitle "[versions-manifest] Update for release from ${formattedDate}" ` | ||
-PullRequestBody "Update versions-manifest.json for release from ${formattedDate}" |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<array> | ||
<dict> | ||
</dict> | ||
</array> | ||
</plist> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<array> | ||
<dict> | ||
<key>attributeSetting</key> | ||
<integer>1</integer> | ||
<key>choiceAttribute</key> | ||
<string>selected</string> | ||
<key>choiceIdentifier</key> | ||
<string>org.python.Python.PythonTFramework-{{__VERSION_MAJOR_MINOR__}}</string> | ||
</dict> | ||
</array> | ||
</plist> |
This file contains 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
This file contains 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
Oops, something went wrong.