Skip to content

Commit 89a0f81

Browse files
committed
Match job order in build and release workflows
1 parent 6d6ca84 commit 89a0f81

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.github/workflows/build.yml

+23-23
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,6 @@ on: [push, pull_request]
44

55
jobs:
66

7-
standalone:
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: Checkout
11-
uses: actions/checkout@v4
12-
with:
13-
fetch-depth: 0
14-
- name: Fetch tags
15-
run: |
16-
git fetch --prune --tags ||:
17-
- name: Configure standalone script
18-
run: |
19-
./bootstrap.sh
20-
./configure --with-standalone --bindir=/
21-
make DESTDIR=. install-exec
22-
echo VERSION=$(cat .version) >> $GITHUB_ENV
23-
sha256sum vcsh-standalone.sh
24-
- name: Post standalone script artifact
25-
uses: actions/upload-artifact@v4
26-
with:
27-
name: standalone-deployment-${{ env.VERSION }}
28-
path: vcsh-standalone.sh
29-
307
source-dist:
318
runs-on: ubuntu-latest
329
steps:
@@ -62,3 +39,26 @@ jobs:
6239
with:
6340
name: vcsh-${{ env.VERSION }}
6441
path: vcsh-${{ env.VERSION }}.zip
42+
43+
standalone:
44+
runs-on: ubuntu-latest
45+
steps:
46+
- name: Checkout
47+
uses: actions/checkout@v4
48+
with:
49+
fetch-depth: 0
50+
- name: Fetch tags
51+
run: |
52+
git fetch --prune --tags ||:
53+
- name: Configure standalone script
54+
run: |
55+
./bootstrap.sh
56+
./configure --with-standalone --bindir=/
57+
make DESTDIR=. install-exec
58+
echo VERSION=$(cat .version) >> $GITHUB_ENV
59+
sha256sum vcsh-standalone.sh
60+
- name: Post standalone script artifact
61+
uses: actions/upload-artifact@v4
62+
with:
63+
name: standalone-deployment-${{ env.VERSION }}
64+
path: vcsh-standalone.sh

0 commit comments

Comments
 (0)