Create README.MD
This commit is contained in:
32
README.MD
Normal file
32
README.MD
Normal file
@@ -0,0 +1,32 @@
|
||||
|
||||
|
||||
|
||||
Examples:
|
||||
```
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
hello_world_job:
|
||||
runs-on: ubuntu-latest
|
||||
name: A job to say hello
|
||||
steps:
|
||||
-
|
||||
name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
name: Get current env
|
||||
id: foo
|
||||
uses: actions/git-tag@main
|
||||
|
||||
-
|
||||
shell: bash
|
||||
run: |
|
||||
echo Git build type "$BUILD_TYPE"
|
||||
echo Git branch name "$BUILD_BRANCH_NAME"
|
||||
echo Git tag Description "$BUILD_TAG_DESC"
|
||||
|
||||
env:
|
||||
BUILD_TYPE: ${{ steps.foo.outputs.git_build_type }}
|
||||
BUILD_BRANCH_NAME : ${{ steps.foo.outputs.git_branch_name }}
|
||||
BUILD_TAG_DESC: ${{ steps.foo.outputs.git_tag_desc }}
|
||||
```
|
||||
Reference in New Issue
Block a user