Skip to content

Commit d58fd55

Browse files
committed
Comment out linux for now
1 parent 89fcc08 commit d58fd55

File tree

2 files changed

+11
-33
lines changed

2 files changed

+11
-33
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Swift
1+
name: Build
22
on:
33
push:
44
branches: ["main"]

.github/workflows/release.yml

Lines changed: 10 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ name: Release
22

33
on:
44
workflow_dispatch:
5-
release:
6-
types: [published]
5+
push:
6+
tags:
7+
- '**'
78

89
jobs:
910
build:
@@ -12,8 +13,9 @@ jobs:
1213
strategy:
1314
matrix:
1415
destination:
15-
- { name: "ubuntu-aarch64", os: ubuntu-22.04-arm }
16-
- { name: "ubuntu-x86_64", os: ubuntu-22.04 }
16+
# - Swiftly is failing to install these so commenting out for now
17+
# - { name: "ubuntu-aarch64", os: ubuntu-22.04-arm }
18+
# - { name: "ubuntu-x86_64", os: ubuntu-22.04 }
1719
- { name: "macos-universal", os: macos-15 }
1820
steps:
1921
- if: startsWith(matrix.destination.name, 'ubuntu')
@@ -30,31 +32,9 @@ jobs:
3032
with:
3133
name: puresql.${{ matrix.destination.name }}.tar.gz
3234
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"
5435

5536
deploy-binary:
56-
if: ${{ github.event_name == 'release' }}
57-
needs: [make-artifact-bundle]
37+
needs: [build]
5838
runs-on: ubuntu-latest
5939
steps:
6040
- uses: actions/download-artifact@v4
@@ -63,8 +43,6 @@ jobs:
6343
- name: Deploy the binary
6444
uses: softprops/action-gh-release@v2
6545
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
46+
files: puresql.macos-universal.tar.gz
47+
# puresql.ubuntu-x86_64.tar.gz
48+
# puresql.ubuntu-aarch64.tar.gz

0 commit comments

Comments
 (0)