We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16ada7f commit ad7edaeCopy full SHA for ad7edae
.github/workflows/simple_test.yaml
@@ -21,12 +21,19 @@ env:
21
22
23
jobs:
24
+ print-env:
25
+ runs-on: ubuntu-latest
26
+ steps:
27
+ - name: Print environment parameter
28
+ run: |
29
+ echo "Environment parameter: ${{ github.event.inputs.environment }}"
30
+ echo "Workflow triggered with environment: ${{ github.event.inputs.environment || 'default' }}"
31
+
32
test:
33
runs-on: ubuntu-latest
34
+ needs: print-env
35
steps:
36
- uses: actions/checkout@v4
- - name: Print environment parameter
- run: echo "Environment parameter: ${{ inputs.environment }}"
37
- name: Setup Python
38
uses: actions/setup-python@v4
39
with:
0 commit comments