We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 741f179 commit 4853ae3Copy full SHA for 4853ae3
1 file changed
.github/workflows/publish-marketplace.yml
@@ -5,21 +5,24 @@ on:
5
types: [published]
6
7
jobs:
8
+ build:
9
+ uses: ./.github/workflows/build.yml
10
+ with:
11
+ version-number: ${{ github.event.release.tag_name }}
12
+
13
publish:
14
if: github.event.release.draft == false
15
runs-on: ubuntu-latest
16
+ needs: build
17
steps:
18
- name: Checkout code
19
uses: actions/checkout@v4
20
21
- name: Extract version from tag
22
id: version
- run: echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
-
- - name: Build
- uses: ./.github/workflows/build.yml
- with:
- version-number: ${{ steps.version.outputs.version }}
23
+ run: |
24
+ TAG="${{ github.event.release.tag_name }}"
25
+ echo "version=${TAG#v}" >> $GITHUB_OUTPUT
26
27
- name: Download build artifact
28
uses: actions/download-artifact@v4
0 commit comments