Skip to content

Commit 7cdc498

Browse files
fix: exe artifact
1 parent a7d6014 commit 7cdc498

1 file changed

Lines changed: 6 additions & 27 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,6 @@ on:
1818
- "!**.md"
1919

2020
jobs:
21-
build-local:
22-
name: Build (Local)
23-
runs-on: ubuntu-latest
24-
25-
steps:
26-
- uses: actions/checkout@v4
27-
28-
- name: Setup Dotnet
29-
uses: actions/setup-dotnet@v4
30-
with:
31-
dotnet-version: ${{ env.DOTNET_VERSION }}
32-
33-
- name: Build Local Runner
34-
run: dotnet build LocalRunner -c Release
35-
36-
- name: Upload executable as artifact
37-
uses: actions/upload-artifact@v4
38-
with:
39-
name: exe-file
40-
path: LocalRunner/bin/Release/net8.0/LocalRunner
41-
4221
build-wasm:
4322
name: Build (WASM)
4423
runs-on: ubuntu-latest
@@ -119,6 +98,11 @@ jobs:
11998
with:
12099
load-mode: strict
121100

101+
- name: Setup Dotnet
102+
uses: actions/setup-dotnet@v4
103+
with:
104+
dotnet-version: ${{ env.DOTNET_VERSION }}
105+
122106
- uses: sqlc-dev/setup-sqlc@v4
123107
with:
124108
sqlc-version: '${{ env.SQLC_VERSION }}'
@@ -127,15 +111,10 @@ jobs:
127111
run: |
128112
./end2end/scripts/generate_tests.sh
129113
git diff --quiet
130-
131-
- uses: actions/download-artifact@v4
132-
with:
133-
name: exe-file
134-
path: dist
135114
136115
- name: Verify pushed codegen requests are synced
137116
run: |
138-
ls dist/
117+
dotnet publish LocalRunner -c release --output dist/
139118
sqlc -f sqlc.local.yaml diff
140119
141120
- uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)