This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
forked from PaloAltoNetworks/pan-os-ansible
-
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.
- Loading branch information
1 parent
649aa44
commit d558d26
Showing
2 changed files
with
29 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: (sub) Discover Python version | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
permissions: | ||
contents: read | ||
|
||
on: | ||
workflow_call: | ||
outputs: | ||
pyversion: | ||
description: A discovered Python version | ||
value: ${{ jobs.pyversion.outputs.pyversion }} | ||
|
||
jobs: | ||
pyversion: | ||
name: Discover minimum Python version | ||
runs-on: ubuntu-latest | ||
outputs: | ||
pyversion: ${{ steps.pyversion.outputs.pyversion }} | ||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v4 | ||
- name: discover Python version | ||
id: pyversion | ||
uses: PaloAltoNetworks/pan-os-upgrade-assurance/.github/actions/[email protected] |
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