Skip to content

Commit

Permalink
Match job order in build and release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Apr 8, 2024
1 parent 6d6ca84 commit 89a0f81
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,6 @@ on: [push, pull_request]

jobs:

standalone:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch tags
run: |
git fetch --prune --tags ||:
- name: Configure standalone script
run: |
./bootstrap.sh
./configure --with-standalone --bindir=/
make DESTDIR=. install-exec
echo VERSION=$(cat .version) >> $GITHUB_ENV
sha256sum vcsh-standalone.sh
- name: Post standalone script artifact
uses: actions/upload-artifact@v4
with:
name: standalone-deployment-${{ env.VERSION }}
path: vcsh-standalone.sh

source-dist:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -62,3 +39,26 @@ jobs:
with:
name: vcsh-${{ env.VERSION }}
path: vcsh-${{ env.VERSION }}.zip

standalone:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch tags
run: |
git fetch --prune --tags ||:
- name: Configure standalone script
run: |
./bootstrap.sh
./configure --with-standalone --bindir=/
make DESTDIR=. install-exec
echo VERSION=$(cat .version) >> $GITHUB_ENV
sha256sum vcsh-standalone.sh
- name: Post standalone script artifact
uses: actions/upload-artifact@v4
with:
name: standalone-deployment-${{ env.VERSION }}
path: vcsh-standalone.sh

0 comments on commit 89a0f81

Please sign in to comment.