Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit c493fba

Browse files
authored
Merge pull request #24 from haskell-CI/fix-private-https-hackage
Leave cabal's http-transport setting on its default
2 parents c80f11a + 2d6ac72 commit c493fba

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

dist/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8733,7 +8733,6 @@ async function cabalConfig() {
87338733
await core.group('Setting up cabal', async () => {
87348734
await exec_1.exec('cabal', ['user-config', 'update'], { silent: true });
87358735
const configFile = await cabalConfig();
8736-
fs.appendFileSync(configFile, 'http-transport: plain-http\n');
87378736
if (process.platform === 'win32') {
87388737
fs.appendFileSync(configFile, 'store-dir: C:\\sr\n');
87398738
core.setOutput('cabal-store', 'C:\\sr');

src/setup-haskell.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ async function cabalConfig(): Promise<string> {
3434
await core.group('Setting up cabal', async () => {
3535
await exec('cabal', ['user-config', 'update'], {silent: true});
3636
const configFile = await cabalConfig();
37-
fs.appendFileSync(configFile, 'http-transport: plain-http\n');
3837

3938
if (process.platform === 'win32') {
4039
fs.appendFileSync(configFile, 'store-dir: C:\\sr\n');

0 commit comments

Comments
 (0)