@@ -2,8 +2,8 @@ name: Release
22
33on :
44 workflow_dispatch :
5- release :
6- types : [published]
5+ tags :
6+ - ' ** '
77
88jobs :
99 build :
1212 strategy :
1313 matrix :
1414 destination :
15- - { name: "ubuntu-aarch64", os: ubuntu-22.04-arm }
16- - { name: "ubuntu-x86_64", os: ubuntu-22.04 }
15+ # - Swiftly is failing to install these so commenting out for now
16+ # - { name: "ubuntu-aarch64", os: ubuntu-22.04-arm }
17+ # - { name: "ubuntu-x86_64", os: ubuntu-22.04 }
1718 - { name: "macos-universal", os: macos-15 }
1819 steps :
1920 - if : startsWith(matrix.destination.name, 'ubuntu')
3031 with :
3132 name : puresql.${{ matrix.destination.name }}.tar.gz
3233 path : puresql.${{ matrix.destination.name }}.tar.gz
33-
34- make-artifact-bundle :
35- needs : [build]
36- runs-on : ubuntu-latest
37- outputs :
38- checksum : ${{ steps.checksum.outputs.checksum }}
39- steps :
40- - uses : actions/checkout@v4
41- - name : Download all artifacts
42- uses : actions/download-artifact@v4
43- with :
44- merge-multiple : true
45- - run : bundle/make_artifactbundle.sh ${{ github.event.release.tag_name || github.ref_name }}
46- - name : Upload artifact bundle
47- uses : actions/upload-artifact@v4
48- with :
49- name : puresql.artifactbundle.zip
50- path : puresql.artifactbundle.zip
51- - name : Compute checksum
52- id : checksum
53- run : echo "checksum=$(swift package compute-checksum puresql.artifactbundle.zip)" >> "$GITHUB_OUTPUT"
5434
5535 deploy-binary :
56- if : ${{ github.event_name == 'release' }}
57- needs : [make-artifact-bundle]
36+ needs : [build]
5837 runs-on : ubuntu-latest
5938 steps :
6039 - uses : actions/download-artifact@v4
6342 - name : Deploy the binary
6443 uses : softprops/action-gh-release@v2
6544 with :
66- files : |
67- puresql.ubuntu-x86_64.tar.gz
68- puresql.ubuntu-aarch64.tar.gz
69- puresql.macos-universal.tar.gz
70- puresql.artifactbundle.zip
45+ files : puresql.macos-universal.tar.gz
46+ # puresql.ubuntu-x86_64.tar.gz
47+ # puresql.ubuntu-aarch64.tar.gz
0 commit comments