File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build and publish binaries to GitHub Releases
22on :
3+ pull_request :
34 push :
45 tags :
56 - v*
@@ -20,19 +21,19 @@ jobs:
2021 swift-version : " 6"
2122 - name : Build
2223 run : swift build --configuration release
23- - name : Archive binary
24- run : |
25- mkdir -p build
26- cp .build/release/unit build/unit
27- tar -czf ${{ github.ref_name }}-${{ matrix.platform }}.tar.gz -C build .
28- shasum -a 256 ${{ github.ref_name }}-${{ matrix.platform }}.tar.gz > ${{ github.ref_name }}-${{ matrix.platform }}.sha256
29- - name : Upload assets to release
30- id : upload_release
31- uses : softprops/action-gh-release@v2
32- with :
33- tag_name : ${{ github.ref_name }}
34- draft : true
35- generate_release_notes : true
36- files : |
37- ${{ github.ref_name }}-${{ matrix.platform }}.tar.gz
38- ${{ github.ref_name }}-${{ matrix.platform }}.sha256
24+ # - name: Archive binary
25+ # run: |
26+ # mkdir -p build
27+ # cp .build/release/unit build/unit
28+ # tar -czf ${{ github.ref_name }}-${{ matrix.platform }}.tar.gz -C build .
29+ # shasum -a 256 ${{ github.ref_name }}-${{ matrix.platform }}.tar.gz > ${{ github.ref_name }}-${{ matrix.platform }}.sha256
30+ # - name: Upload assets to release
31+ # id: upload_release
32+ # uses: softprops/action-gh-release@v2
33+ # with:
34+ # tag_name: ${{ github.ref_name }}
35+ # draft: true
36+ # generate_release_notes: true
37+ # files: |
38+ # ${{ github.ref_name }}-${{ matrix.platform }}.tar.gz
39+ # ${{ github.ref_name }}-${{ matrix.platform }}.sha256
You can’t perform that action at this time.
0 commit comments