C++ support for regression problems #214
Workflow file for this run
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
--- | |
name: Test publishing packages | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
changes: | |
name: Detect changes | |
runs-on: ubuntu-latest | |
outputs: | |
build_files: ${{ steps.filter.outputs.build_files }} | |
python_version: ${{ steps.python_version.outputs.content }} | |
steps: | |
- name: Look up Git repository in cache | |
uses: actions/cache/restore@v4 | |
with: | |
path: .git/ | |
key: test-publish-cache-git-${{ github.run_id }} | |
restore-keys: | | |
test-publish-cache-git | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Detect changes | |
uses: dorny/paths-filter@v3 | |
id: filter | |
with: | |
filters: | | |
build_files: | |
- '.github/workflows/test_release.yml' | |
- '.github/workflows/template_publish.yml' | |
- '.github/workflows/template_publish_non_native.yml' | |
- '.github/workflows/template_publish_platform.yml' | |
- '.github/workflows/template_publish_pure.yml' | |
- 'build' | |
- 'build.bat' | |
- 'scons/**' | |
- name: Read Python version | |
uses: juliangruber/read-file-action@v1 | |
id: python_version | |
with: | |
path: .version-python | |
- name: Save Git repository to cache | |
uses: actions/cache/save@v4 | |
if: success() || failure() | |
with: | |
path: .git/ | |
key: test-publish-cache-git-${{ github.run_id }} | |
test_release: | |
needs: changes | |
if: ${{ needs.changes.outputs.build_files == 'true' }} | |
name: Test publishing wheel packages | |
uses: ./.github/workflows/template_publish.yml | |
with: | |
python_version: ${{ needs.changes.outputs.python_version }} |