File tree 2 files changed +13
-7
lines changed
2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
build :
9
9
runs-on : ubuntu-latest
10
-
10
+
11
11
steps :
12
12
- uses : actions/checkout@v4
13
-
13
+
14
+ - name : Set env.COMMIT_HASH
15
+ run : echo "COMMIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
16
+
14
17
- name : Setup Bun
15
18
uses : oven-sh/setup-bun@v1
16
19
with :
17
20
bun-version : latest
18
-
21
+
19
22
- name : Install dependencies
20
23
run : bun install
21
-
24
+
22
25
- name : Build
23
26
run : |
24
27
mkdir -p bin
25
28
bun run build-linux-x64
26
29
bun run build-linux-arm64
27
30
bun run build-windows-x64
28
-
31
+
29
32
- name : Upload Linux x64
30
33
uses : actions/upload-artifact@v4
31
34
with :
32
35
name : transit-linux-x64
33
36
path : bin/transit-linux-x64
34
-
37
+
35
38
- name : Upload Linux ARM64
36
39
uses : actions/upload-artifact@v4
37
40
with :
38
41
name : transit-linux-arm64
39
42
path : bin/transit-linux-arm64
40
-
43
+
41
44
- name : Upload Windows x64
42
45
uses : actions/upload-artifact@v4
43
46
with :
Original file line number Diff line number Diff line change 23
23
with :
24
24
bun-version : latest
25
25
26
+ - name : Set env.COMMIT_HASH
27
+ run : echo "COMMIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
28
+
26
29
- name : Extract version from commit message
27
30
id : extract_version
28
31
run : |
You can’t perform that action at this time.
0 commit comments