File tree Expand file tree Collapse file tree 6 files changed +136
-108
lines changed Expand file tree Collapse file tree 6 files changed +136
-108
lines changed Original file line number Diff line number Diff line change 31
31
- name : Package
32
32
run : npm pack
33
33
- name : Upload artifact
34
- uses : actions/upload-artifact@v3
34
+ uses : actions/upload-artifact@v4
35
35
with :
36
36
name : build-${{ github.sha }}
37
37
if-no-files-found : error
Original file line number Diff line number Diff line change 30
30
with :
31
31
install_dependencies : ' false'
32
32
- name : Download artifact
33
- uses : actions/download-artifact@v3
33
+ uses : actions/download-artifact@v4
34
34
with :
35
35
name : ${{ inputs.artifact_name }}
36
36
path : .
Original file line number Diff line number Diff line change 78
78
with :
79
79
node-version : ${{ matrix.node }}
80
80
- name : Download artifact
81
- uses : actions/download-artifact@v3
81
+ uses : actions/download-artifact@v4
82
82
with :
83
83
name : ${{ needs.build.outputs.artifact_name }}
84
84
path : .
Original file line number Diff line number Diff line change 23
23
with :
24
24
fetch-depth : 0
25
25
- name : Download artifact
26
- uses : actions/download-artifact@v3
26
+ uses : actions/download-artifact@v4
27
27
with :
28
28
name : ${{ needs.build.outputs.artifact_name }}
29
29
path : .
Original file line number Diff line number Diff line change @@ -35,13 +35,13 @@ jobs:
35
35
runs-on : ubuntu-latest
36
36
timeout-minutes : 30
37
37
needs : semantic
38
- if : ${{ needs.semantic.outputs.new_release_published == 'true' }}
38
+ if : needs.semantic.outputs.new_release_published == 'true' && needs.semantic.outputs.new_release_version != '1.0.0'
39
39
steps :
40
40
- name : Checkout
41
41
uses : actions/checkout@v4
42
42
with :
43
43
fetch-depth : 1
44
- - name : Release version ${{ steps.release .outputs.new_release_version }} on ${{ github.ref_name }}
44
+ - name : Release version ${{ needs.semantic .outputs.new_release_version }} on ${{ github.ref_name }}
45
45
run : gh workflow run version.yml --raw-field version=$VERSION --ref $BRANCH
46
46
env :
47
47
GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
You can’t perform that action at this time.
0 commit comments