File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -54,16 +54,15 @@ jobs:
5454 contents : write
5555 environment :
5656 name : release
57- url : ${{ steps.deployment.outputs.page_url }}
5857 runs-on : ubuntu-latest
5958 needs :
6059 - build
61- if : success() && github.ref == 'refs/heads/main'
60+ if : success() && startsWith( github.ref, 'refs/tags/')
6261 steps :
63- - name : Download artifacts
64- uses : actions/download-artifact@v4
6562 - name : Checkout
6663 uses : actions/checkout@v4
64+ - name : Download artifacts
65+ uses : actions/download-artifact@v4
6766 - name : Display all downloaded archives/artifacts
6867 run : |
6968 ls -lah
@@ -78,11 +77,10 @@ jobs:
7877
7978 echo "
8079 Creating checksums.txt..."
81- sha512sum salt-install-guide.tar.gz salt.repo salt.sources > tee checksums.txt
80+ sha512sum salt-install-guide.tar.gz salt.repo salt.sources | tee checksums.txt
8281
8382 - name : Release
8483 uses : softprops/action-gh-release@v2
85- if : startsWith(github.ref, 'refs/tags/')
8684 with :
8785 files : |
8886 checksums.txt
You can’t perform that action at this time.
0 commit comments