Skip to content

Commit 3ae1016

Browse files
committed
fixup! feat(ci): Fake build project
1 parent d9aa89c commit 3ae1016

File tree

6 files changed

+12
-19
lines changed

6 files changed

+12
-19
lines changed

.github/workflows/build+test+deploy.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,17 @@ on:
66
- master
77
pull_request:
88
branches:
9-
- master
9+
- '**'
1010

1111
jobs:
1212
build:
1313
strategy:
1414
matrix:
1515
configuration: [Debug, Release]
16-
os: [ubuntu-latest, windows-latest, macOS-latest]
16+
os:
17+
- ubuntu-latest
18+
- windows-latest
19+
- macOS-latest
1720
runs-on: ${{ matrix.os }}
1821

1922
steps:
@@ -25,9 +28,7 @@ jobs:
2528

2629
- name: Build via Bash
2730
if: runner.os != 'Windows'
28-
run: |
29-
chmod +x ./build.sh
30-
./build.sh
31+
run: ./build.sh
3132
env:
3233
CI: true
3334
CONFIGURATION: ${{ matrix.configuration }}
@@ -71,9 +72,7 @@ jobs:
7172
- name: Build and run dev container task
7273
uses: devcontainers/[email protected]
7374
with:
74-
runCmd: |
75-
chmod +x ./build.sh
76-
./build.sh
75+
runCmd: ./build.sh
7776

7877
testReleaseBinariesInDotNet8Container:
7978
needs: deployReleaseBinaries

.github/workflows/fornax-gh-pages.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ jobs:
3737
global-json-file: global.json
3838

3939
- name: Build Docs
40-
run: |
41-
chmod +x ./build.sh
42-
./build.sh builddocs
40+
run: ./build.sh builddocs
4341

4442
- name: Upload artifact
4543
uses: actions/upload-pages-artifact@v3

.github/workflows/publish_ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,4 @@ jobs:
5656
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
5757
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5858
FAKE_DETAILED_ERRORS: true
59-
run: |
60-
chmod +x ./build.sh
61-
./build.sh "PublishToGitHub"
59+
run: ./build.sh "PublishToGitHub"

.github/workflows/publish_release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,4 @@ jobs:
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2929
FAKE_DETAILED_ERRORS: true
3030
ENABLE_COVERAGE: false # AltCover doesn't work with Release builds, reports lower coverage than actual
31-
run: |
32-
chmod +x ./build.sh
33-
./build.sh Publish
31+
run: ./build.sh Publish

build.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dotnet run --project ./build/build.fsproj -- -t %*
1+
dotnet run --project ./build/build.fsproj -- --target %*

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
set -eu
44
set -o pipefail
55

6-
FAKE_DETAILED_ERRORS=true dotnet run --project ./build/build.fsproj -- -t "$@"
6+
FAKE_DETAILED_ERRORS=true dotnet run --project ./build/build.fsproj -- --target "$@"

0 commit comments

Comments
 (0)