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 b351b16 commit 5cd86c5Copy full SHA for 5cd86c5
.github/workflows/main_py_to_bitly.yml
@@ -5,18 +5,13 @@
5
jobs:
6
job1:
7
runs-on: ubuntu-latest
8
- outputs:
9
- output1: ${{ steps.step1.outputs }}
10
steps:
11
- uses: actions/checkout@v4
12
with:
13
fetch-depth: 2
14
- - id: step1
15
- run: git diff --name-only HEAD~1 HEAD | grep '/main.py'
16
- job2:
17
- needs: job1
18
- runs-on: ubuntu-latest
19
- steps:
20
- - env:
21
- output1: ${{needs.job1.outputs.output1}}
22
- run: echo "$output1"
+ - name: get path of main.py
+ with:
+ path_of_main_py: |
+ run: git diff --name-only HEAD~1 HEAD | grep '/main.py'
+ - name: print path_of_main_py
+ run: echo "${{ steps.with.path_of_main_py }}"
0 commit comments