We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7b7f9f commit 8cdeb01Copy full SHA for 8cdeb01
.github/workflows/publish.yaml
@@ -6,13 +6,17 @@ jobs:
6
var:
7
name: Set variables
8
runs-on: ubuntu-latest
9
+ outputs:
10
+ tag: ${{ steps.var.outputs.tag }}
11
steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v4
14
+ with:
15
+ fetch-depth: 0
16
- name: Set variables
17
id: var
18
run: |
19
TAG="$(git describe --tags)" && echo "tag=${TAG#v}" >> $GITHUB_OUTPUT
- outputs:
- tag: ${{ steps.var.outputs.tag }}
20
build:
21
name: Build
22
needs: var
0 commit comments