Set continue-on-error at step level (#157)
* Set continue-on-error at step level * Add windows cache dirs
This commit is contained in:
parent
a3538aa46c
commit
68a2b78010
5
.github/workflows/haskell-cabal.yml
vendored
5
.github/workflows/haskell-cabal.yml
vendored
@ -13,7 +13,6 @@ jobs:
|
|||||||
cabal-build:
|
cabal-build:
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
continue-on-error: ${{ matrix.experimental }}
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@ -56,6 +55,8 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
~/.cabal
|
~/.cabal
|
||||||
~/.stack
|
~/.stack
|
||||||
|
%appdata%\cabal
|
||||||
|
%LOCALAPPDATA%\Programs\stack
|
||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/stack.yaml') }}
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/stack.yaml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/stack.yaml') }}
|
${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/stack.yaml') }}
|
||||||
@ -95,6 +96,7 @@ jobs:
|
|||||||
MINIO_SECRET_KEY: minio123
|
MINIO_SECRET_KEY: minio123
|
||||||
MINIO_LOCAL: 1
|
MINIO_LOCAL: 1
|
||||||
MINIO_SECURE: 1
|
MINIO_SECURE: 1
|
||||||
|
continue-on-error: ${{ matrix.experimental }}
|
||||||
run: |
|
run: |
|
||||||
/tmp/minio/minio server --quiet --certs-dir /tmp/minio-config/certs data1 data2 data3 data4 2>&1 > minio.log &
|
/tmp/minio/minio server --quiet --certs-dir /tmp/minio-config/certs data1 data2 data3 data4 2>&1 > minio.log &
|
||||||
ghc --version
|
ghc --version
|
||||||
@ -110,6 +112,7 @@ jobs:
|
|||||||
MINIO_SECRET_KEY: minio123
|
MINIO_SECRET_KEY: minio123
|
||||||
MINIO_LOCAL: 1
|
MINIO_LOCAL: 1
|
||||||
MINIO_SECURE: 1
|
MINIO_SECURE: 1
|
||||||
|
continue-on-error: ${{ matrix.experimental }}
|
||||||
run: |
|
run: |
|
||||||
Start-Process -NoNewWindow -FilePath "$HOME/minio.exe" -ArgumentList "--certs-dir", "$env:temp/minio-config/certs", "server", "$env:temp/data1", "$env:temp/data2", "$env:temp/data3", "$env:temp/data4"
|
Start-Process -NoNewWindow -FilePath "$HOME/minio.exe" -ArgumentList "--certs-dir", "$env:temp/minio-config/certs", "server", "$env:temp/data1", "$env:temp/data2", "$env:temp/data3", "$env:temp/data4"
|
||||||
ghc --version
|
ghc --version
|
||||||
|
|||||||
5
.github/workflows/haskell-stack.yml
vendored
5
.github/workflows/haskell-stack.yml
vendored
@ -13,7 +13,6 @@ jobs:
|
|||||||
stack-build:
|
stack-build:
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
continue-on-error: ${{ matrix.experimental }}
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@ -44,6 +43,8 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
~/.cabal
|
~/.cabal
|
||||||
~/.stack
|
~/.stack
|
||||||
|
%appdata%\cabal
|
||||||
|
%LOCALAPPDATA%\Programs\stack
|
||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/stack.yaml') }}
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/stack.yaml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/stack.yaml') }}
|
${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/stack.yaml') }}
|
||||||
@ -83,6 +84,7 @@ jobs:
|
|||||||
MINIO_SECRET_KEY: minio123
|
MINIO_SECRET_KEY: minio123
|
||||||
MINIO_LOCAL: 1
|
MINIO_LOCAL: 1
|
||||||
MINIO_SECURE: 1
|
MINIO_SECURE: 1
|
||||||
|
continue-on-error: ${{ matrix.experimental }}
|
||||||
run: |
|
run: |
|
||||||
/tmp/minio/minio server --quiet --certs-dir /tmp/minio-config/certs data1 data2 data3 data4 2>&1 > minio.log &
|
/tmp/minio/minio server --quiet --certs-dir /tmp/minio-config/certs data1 data2 data3 data4 2>&1 > minio.log &
|
||||||
ghc --version
|
ghc --version
|
||||||
@ -97,6 +99,7 @@ jobs:
|
|||||||
MINIO_SECRET_KEY: minio123
|
MINIO_SECRET_KEY: minio123
|
||||||
MINIO_LOCAL: 1
|
MINIO_LOCAL: 1
|
||||||
MINIO_SECURE: 1
|
MINIO_SECURE: 1
|
||||||
|
continue-on-error: ${{ matrix.experimental }}
|
||||||
run: |
|
run: |
|
||||||
Start-Process -NoNewWindow -FilePath "$HOME/minio.exe" -ArgumentList "--certs-dir", "$env:temp/minio-config/certs", "server", "$env:temp/data1", "$env:temp/data2", "$env:temp/data3", "$env:temp/data4"
|
Start-Process -NoNewWindow -FilePath "$HOME/minio.exe" -ArgumentList "--certs-dir", "$env:temp/minio-config/certs", "server", "$env:temp/data1", "$env:temp/data2", "$env:temp/data3", "$env:temp/data4"
|
||||||
ghc --version
|
ghc --version
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user