Compare commits
No commits in common. "942ed1805e5e178552a87dc5909e8d2614e2bf38" and "104bac8a84562910bfb00d2a5bd5b23387f6f4ea" have entirely different histories.
942ed1805e
...
104bac8a84
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
@ -8,6 +8,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: set env variable
|
||||||
|
run: ${{ env.SHORT_SHA}} = "$(git rev-parse --short HEAD)" # for this to work need first checkout
|
||||||
|
|
||||||
process:
|
process:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
9
.github/workflows/out_in.yaml
vendored
9
.github/workflows/out_in.yaml
vendored
@ -14,12 +14,9 @@ jobs:
|
|||||||
run: echo "The build stage is ${{ steps.set-debug-stage.outputs.BUILD_STAGE}}"
|
run: echo "The build stage is ${{ steps.set-debug-stage.outputs.BUILD_STAGE}}"
|
||||||
|
|
||||||
- name: checkout code
|
- name: checkout code
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: set short sha
|
|
||||||
id: get-short-sha
|
id: get-short-sha
|
||||||
run: echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
uses: actions/checkout@v4
|
||||||
- name: get short sha
|
run: echo "SHORT_SHA=$(git rev-parse --short)" >> GITHUB_OUTPUT
|
||||||
run: echo "SHORT_SHA=$(git rev-parse --short HEAD)"
|
|
||||||
- name: check short sha
|
- name: check short sha
|
||||||
run: echo "The short sha is ${{ steps.get-short-sha.outputs.SHORT_SHA}}"
|
run: echo "The short sha is ${{ steps.get-short-sha.outputs.SHORT_SHA}}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user