25 lines
659 B
YAML
25 lines
659 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: check short sha
|
|
run: echo "The short sha is ${{ steps.get-short-sha.outputs.SHORT_SHA}}"
|