We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df709cc commit e30a22dCopy full SHA for e30a22d
.github/workflows/scratch.yaml
@@ -0,0 +1,19 @@
1
+#Scratch workflow placeholder to create new workflows from a branch other then main
2
+name: Scratch
3
+
4
+on:
5
+ workflow_dispatch:
6
+ inputs:
7
+ tag:
8
+ description: tag
9
+ required: true
10
11
+jobs:
12
+ get_short_tag:
13
+ name: get-short-tag
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: save short tag to environment
17
+ run: echo "short_tag=$(echo ${{ github.event.inputs.tag }} | head -c 8 )" >> $GITHUB_ENV
18
+ - name: echo env var
19
+ run: echo "${{ github.env.short_tag }}"
0 commit comments