Generates with py3.8-3.12 #76
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: Generating with py3.8-12 | |
run-name: Generates with py3.8-3.12 | |
on: | |
workflow_run: | |
workflows: [Generating with py3.8-3.12] | |
types: | |
- completed | |
jobs: | |
check-generation: | |
runs-on: ubuntu-latest | |
if: github.event.workflow_run.conclusion != 'success' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Download workflow artifact | |
uses: dawidd6/action-download-artifact@v3 | |
with: | |
workflow: validate-tsl.yml | |
name: python_generation_failed | |
path: ${{ github.workspace }}/status | |
if_no_artifact_found: ignore | |
skip_unpack: true | |
- name: Fail on status existing | |
run: | | |
found_file=false | |
for file in ${{ github.workspace }}/status/python_generation_failed*; do | |
if [ -f $file ]; then | |
found_file=true | |
break | |
fi | |
done | |
if $found_file; then | |
echo "Generation failed" | |
exit 1 | |
fi | |
everything-fine: | |
runs-on: ubuntu-latest | |
if: github.event.workflow_run.conclusion == 'success' | |
steps: | |
- name: Everything is fine | |
run: echo "Everything is fine" |