■ ■ ■ ■ ■ ■
.github/workflows/release.yml
| skipped 111 lines |
112 | 112 | | sha256sum dum-${{ matrix.target }}.${{ matrix.archive }} > dum-${{ matrix.target }}-sha256sum.txt |
113 | 113 | | |
114 | 114 | | - name: Upload artifacts archive |
| 115 | + | if: ${{ startsWith(github.ref, 'refs/tags/v') }} |
115 | 116 | | uses: actions/upload-artifact@v1 |
116 | 117 | | with: |
117 | 118 | | name: dum-${{ matrix.target }}.${{ matrix.archive }} |
118 | 119 | | path: dum-${{ matrix.target }}.${{ matrix.archive }} |
119 | 120 | | |
120 | 121 | | - name: Upload artifacts checksum |
| 122 | + | if: ${{ startsWith(github.ref, 'refs/tags/v') }} |
121 | 123 | | uses: actions/upload-artifact@v1 |
122 | 124 | | with: |
123 | 125 | | name: dum-${{ matrix.target }}-sha256sum.txt |
| skipped 22 lines |