We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b974560 commit 7e066eaCopy full SHA for 7e066ea
.github/workflows/release.yml
@@ -8,7 +8,6 @@ on:
8
9
jobs:
10
release:
11
- if: github.event_name == 'push'
12
permissions:
13
# to create release tags (cycjimmy/semantic-release-action)
14
contents: write
@@ -20,8 +19,10 @@ jobs:
20
19
version: ${{ steps.semantic.outputs.new_release_version }}
21
steps:
22
- uses: actions/checkout@v3
+ if: github.event_name == 'push'
23
24
- name: Semantic Release
25
26
id: semantic
27
uses: cycjimmy/semantic-release-action@v4
28
with:
@@ -32,7 +33,7 @@ jobs:
32
33
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34
35
publish_image:
- needs:
36
+ needs:
37
- release
38
if: needs.release.outputs.published == 'true' || github.event_name == 'workflow_dispatch'
39
runs-on: ubuntu-latest
0 commit comments