Skip to content

Commit 237d187

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

File tree

2 files changed

+12
-26
lines changed

2 files changed

+12
-26
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: 11 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Release
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
tags:
7+
description: 'The tag to upload the build for'
8+
default: ${{ github.ref_name }}
9+
type: string
510
release:
611
types: [published]
712

@@ -12,8 +17,9 @@ jobs:
1217
strategy:
1318
matrix:
1419
destination:
15-
- { name: "ubuntu-aarch64", os: ubuntu-22.04-arm }
16-
- { name: "ubuntu-x86_64", os: ubuntu-22.04 }
20+
# - Swiftly is failing to install these so commenting out for now
21+
# - { name: "ubuntu-aarch64", os: ubuntu-22.04-arm }
22+
# - { name: "ubuntu-x86_64", os: ubuntu-22.04 }
1723
- { name: "macos-universal", os: macos-15 }
1824
steps:
1925
- if: startsWith(matrix.destination.name, 'ubuntu')
@@ -30,31 +36,10 @@ jobs:
3036
with:
3137
name: puresql.${{ matrix.destination.name }}.tar.gz
3238
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"
5439

5540
deploy-binary:
56-
if: ${{ github.event_name == 'release' }}
57-
needs: [make-artifact-bundle]
41+
# if: ${{ github.event_name == 'release' }}
42+
needs: [build]
5843
runs-on: ubuntu-latest
5944
steps:
6045
- uses: actions/download-artifact@v4
@@ -63,6 +48,7 @@ jobs:
6348
- name: Deploy the binary
6449
uses: softprops/action-gh-release@v2
6550
with:
51+
tag_name: ${{ inputs.tags }}
6652
files: |
6753
puresql.ubuntu-x86_64.tar.gz
6854
puresql.ubuntu-aarch64.tar.gz

0 commit comments

Comments
 (0)