2024-09-01 12:44:51 -04:00

26 lines
747 B
YAML

name: out_in_puts
on:
push:
branches: [master]
jobs:
create_issue_on_failure:
runs_on: ubuntu-latest
steps:
- name: Set Debug
id: set-debug-stage
run: echo "BUILD_STAGE=debug" >> $GITHUB_OUTPUT
- name: Get Stage
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)"
- name: check short sha
run: echo "The short sha is ${{ steps.get-short-sha.outputs.SHORT_SHA}}"