File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -52,18 +52,15 @@ jobs:
5252 deploy :
5353 permissions :
5454 contents : write
55- environment :
56- name : release
57- url : ${{ steps.deployment.outputs.page_url }}
5855 runs-on : ubuntu-latest
5956 needs :
6057 - build
61- if : success() && github.ref == 'refs/heads/main'
58+ if : success() && startsWith( github.ref, 'refs/tags/')
6259 steps :
63- - name : Download artifacts
64- uses : actions/download-artifact@v4
6560 - name : Checkout
6661 uses : actions/checkout@v4
62+ - name : Download artifacts
63+ uses : actions/download-artifact@v4
6764 - name : Display all downloaded archives/artifacts
6865 run : |
6966 ls -lah
@@ -78,11 +75,10 @@ jobs:
7875
7976 echo "
8077 Creating checksums.txt..."
81- sha512sum salt-install-guide.tar.gz salt.repo salt.sources > tee checksums.txt
78+ sha512sum salt-install-guide.tar.gz salt.repo salt.sources | tee checksums.txt
8279
8380 - name : Release
8481 uses : softprops/action-gh-release@v2
85- if : startsWith(github.ref, 'refs/tags/')
8682 with :
8783 files : |
8884 checksums.txt
You can’t perform that action at this time.
0 commit comments