Skip to content

Commit

Permalink
ensure all github actions set for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAngryByrd committed Jan 29, 2024
1 parent 7bfea7d commit 8a070a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/fsdocs-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
# Build job
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -40,6 +41,9 @@ jobs:
- name: Build Docs
run: |
./build.sh builddocs
env:
CONFIGURATION: Release
CI: true

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FAKE_DETAILED_ERRORS: true
CI: true
CONFIGURATION: Release
run: |
chmod +x ./build.sh
./build.sh Publish
2 changes: 1 addition & 1 deletion build/build.fs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ let failOnBadExitAndPrint (p: ProcessResult) =
failwithf "failed with exitcode %d" p.ExitCode


let isCI = lazy environVarAsBoolOrDefault "CI" false
let isCI = lazy (environVarAsBoolOrDefault "CI" false)

// CI Servers can have bizarre failures that have nothing to do with your code
let rec retryIfInCI times fn =
Expand Down

0 comments on commit 8a070a2

Please sign in to comment.