Compare commits

..

No commits in common. "942ed1805e5e178552a87dc5909e8d2614e2bf38" and "104bac8a84562910bfb00d2a5bd5b23387f6f4ea" have entirely different histories.

2 changed files with 6 additions and 6 deletions

View File

@ -8,6 +8,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- 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:
runs-on: ubuntu-latest
steps:

View File

@ -14,12 +14,9 @@ jobs:
run: echo "The build stage is ${{ steps.set-debug-stage.outputs.BUILD_STAGE}}"
- name: checkout code
uses: actions/checkout@v4
- name: set short sha
id: get-short-sha
run: echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: get short sha
run: echo "SHORT_SHA=$(git rev-parse --short HEAD)"
uses: actions/checkout@v4
run: echo "SHORT_SHA=$(git rev-parse --short)" >> GITHUB_OUTPUT
- name: check short sha
run: echo "The short sha is ${{ steps.get-short-sha.outputs.SHORT_SHA}}"