Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e3e5ff096b | ||
|
|
c493fba651 | ||
|
|
2d6ac72254 | ||
|
|
995068575a |
@@ -63,6 +63,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ghc-version: '8.8.3' # Exact version of ghc to use
|
ghc-version: '8.8.3' # Exact version of ghc to use
|
||||||
# cabal-version: 'latest'. Omitted, but defalts to 'latest'
|
# cabal-version: 'latest'. Omitted, but defalts to 'latest'
|
||||||
|
enable-stack: true
|
||||||
stack-version: 'latest'
|
stack-version: 'latest'
|
||||||
- run: runhaskell Hello.hs
|
- run: runhaskell Hello.hs
|
||||||
```
|
```
|
||||||
|
|||||||
1
dist/index.js
vendored
1
dist/index.js
vendored
@@ -8733,7 +8733,6 @@ async function cabalConfig() {
|
|||||||
await core.group('Setting up cabal', async () => {
|
await core.group('Setting up cabal', async () => {
|
||||||
await exec_1.exec('cabal', ['user-config', 'update'], { silent: true });
|
await exec_1.exec('cabal', ['user-config', 'update'], { silent: true });
|
||||||
const configFile = await cabalConfig();
|
const configFile = await cabalConfig();
|
||||||
fs.appendFileSync(configFile, 'http-transport: plain-http\n');
|
|
||||||
if (process.platform === 'win32') {
|
if (process.platform === 'win32') {
|
||||||
fs.appendFileSync(configFile, 'store-dir: C:\\sr\n');
|
fs.appendFileSync(configFile, 'store-dir: C:\\sr\n');
|
||||||
core.setOutput('cabal-store', 'C:\\sr');
|
core.setOutput('cabal-store', 'C:\\sr');
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ async function cabalConfig(): Promise<string> {
|
|||||||
await core.group('Setting up cabal', async () => {
|
await core.group('Setting up cabal', async () => {
|
||||||
await exec('cabal', ['user-config', 'update'], {silent: true});
|
await exec('cabal', ['user-config', 'update'], {silent: true});
|
||||||
const configFile = await cabalConfig();
|
const configFile = await cabalConfig();
|
||||||
fs.appendFileSync(configFile, 'http-transport: plain-http\n');
|
|
||||||
|
|
||||||
if (process.platform === 'win32') {
|
if (process.platform === 'win32') {
|
||||||
fs.appendFileSync(configFile, 'store-dir: C:\\sr\n');
|
fs.appendFileSync(configFile, 'store-dir: C:\\sr\n');
|
||||||
|
|||||||
Reference in New Issue
Block a user