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 3131 - name : Package
3232 run : npm pack
3333 - name : Upload artifact
34- uses : actions/upload-artifact@v3
34+ uses : actions/upload-artifact@v4
3535 with :
3636 name : build-${{ github.sha }}
3737 if-no-files-found : error
Original file line number Diff line number Diff line change 3030 with :
3131 install_dependencies : ' false'
3232 - name : Download artifact
33- uses : actions/download-artifact@v3
33+ uses : actions/download-artifact@v4
3434 with :
3535 name : ${{ inputs.artifact_name }}
3636 path : .
Original file line number Diff line number Diff line change 7878 with :
7979 node-version : ${{ matrix.node }}
8080 - name : Download artifact
81- uses : actions/download-artifact@v3
81+ uses : actions/download-artifact@v4
8282 with :
8383 name : ${{ needs.build.outputs.artifact_name }}
8484 path : .
Original file line number Diff line number Diff line change 2323 with :
2424 fetch-depth : 0
2525 - name : Download artifact
26- uses : actions/download-artifact@v3
26+ uses : actions/download-artifact@v4
2727 with :
2828 name : ${{ needs.build.outputs.artifact_name }}
2929 path : .
Original file line number Diff line number Diff line change @@ -35,13 +35,13 @@ jobs:
3535 runs-on : ubuntu-latest
3636 timeout-minutes : 30
3737 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'
3939 steps :
4040 - name : Checkout
4141 uses : actions/checkout@v4
4242 with :
4343 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 }}
4545 run : gh workflow run version.yml --raw-field version=$VERSION --ref $BRANCH
4646 env :
4747 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
You can’t perform that action at this time.
0 commit comments