Skip to content

Commit d49ac1b

Browse files
committed
fix: get version info before installing cosign
1 parent f875973 commit d49ac1b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ jobs:
3636
- name: Checkout repository
3737
uses: actions/checkout@v4
3838

39+
# Get release version information from github commits
40+
- name: Semantic Release
41+
id: semantic
42+
uses: cycjimmy/semantic-release-action@v4
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
3946
# Install the cosign tool except on PR
4047
# https://github.com/sigstore/cosign-installer
4148
- name: Install cosign
@@ -44,13 +51,6 @@ jobs:
4451
with:
4552
cosign-release: 'v2.2.4'
4653

47-
# Get release version information from github commits
48-
- name: Semantic Release
49-
id: semantic
50-
uses: cycjimmy/semantic-release-action@v4
51-
env:
52-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53-
5454
# Set up BuildKit Docker container builder to be able to build
5555
# multi-platform images and export cache
5656
# https://github.com/docker/setup-buildx-action

0 commit comments

Comments
 (0)