Skip to content

Commit

Permalink
XXX remove
Browse files Browse the repository at this point in the history
  • Loading branch information
sol committed Dec 12, 2024
1 parent e01f5a4 commit c699bbc
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/selftest.macos-13.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- cron: 0 0 1 * *
push:
branches:
- selftest
- update
jobs:
build:
name: ${{ matrix.os }} / GHC ${{ matrix.ghc }}
Expand All @@ -21,6 +21,7 @@ jobs:
- run: cabal install alex
- run: alex --version
strategy:
fail-fast: false
matrix:
os:
- macos-13
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/selftest.macos-14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- run: cabal install alex
- run: alex --version
strategy:
fail-fast: false
matrix:
os:
- macos-14
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/selftest.macos-15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- run: cabal install alex
- run: alex --version
strategy:
fail-fast: false
matrix:
os:
- macos-15
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/selftest.ubuntu-20.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- run: cabal install alex
- run: alex --version
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/selftest.ubuntu-22.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- run: cabal install alex
- run: alex --version
strategy:
fail-fast: false
matrix:
os:
- ubuntu-22.04
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/selftest.ubuntu-24.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- run: cabal install alex
- run: alex --version
strategy:
fail-fast: false
matrix:
os:
- ubuntu-24.04
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/selftest.windows-2019.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- run: cabal install alex
- run: alex --version
strategy:
fail-fast: false
matrix:
os:
- windows-2019
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/selftest.windows-2022.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- run: cabal install alex
- run: alex --version
strategy:
fail-fast: false
matrix:
os:
- windows-2022
Expand Down
4 changes: 3 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/ghcup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export async function install(version: string) {
}
await core.group('ghcup install', async () => {
await exec(`ghcup install ghc ${version} --set`);
core.addPath('$HOME/.ghcup/bin');
});
}

Expand Down
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ import { installed, resolve, ResolvedVersion } from './resolve';

async function main() {
try {
core.addPath('$HOME/.ghcup/bin');
await exec(`brew install ghcup`);
await exec(`ghcup install ghc`);
await workaroundRunnerImageIssue7061();
await addCabalBinToPath();
const requested = core.getInput('ghc-version');
Expand Down

0 comments on commit c699bbc

Please sign in to comment.