From 369e6f582edd5139d03bec91bd44c780de68783f Mon Sep 17 00:00:00 2001 From: Lei Zhu Date: Tue, 17 Dec 2024 21:07:54 +0800 Subject: [PATCH 1/6] Upload log --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 727f86a..0e875c9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,3 +23,7 @@ jobs: with: ghc-version: ${{ matrix.ghc }} - run: cabal build + - uses: actions/upload-artifact@v4 + with: + name: ghcup + path: /usr/local/.ghcup/logs From c001a89e8a0decc23bb0e03993df7d123e1e3830 Mon Sep 17 00:00:00 2001 From: Lei Zhu Date: Tue, 17 Dec 2024 21:12:33 +0800 Subject: [PATCH 2/6] Rename file --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0e875c9..a64076e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,5 +25,5 @@ jobs: - run: cabal build - uses: actions/upload-artifact@v4 with: - name: ghcup + name: ghcup-dump-log path: /usr/local/.ghcup/logs From a4319660104974be38016e2b9a07ec3324329418 Mon Sep 17 00:00:00 2001 From: Lei Zhu Date: Tue, 17 Dec 2024 21:13:38 +0800 Subject: [PATCH 3/6] Rename file --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a64076e..84e32a0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,5 +25,5 @@ jobs: - run: cabal build - uses: actions/upload-artifact@v4 with: - name: ghcup-dump-log + name: ghcup-dump-log-${{ matrix.os }}-${{ matrix.ghc }} path: /usr/local/.ghcup/logs From 01710ff9f8d8a890585944dcd0a62bcf72f1ab39 Mon Sep 17 00:00:00 2001 From: Lei Zhu Date: Tue, 17 Dec 2024 21:24:04 +0800 Subject: [PATCH 4/6] Continue on error --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 84e32a0..ac8144e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,10 +19,14 @@ jobs: steps: - uses: actions/checkout@v4 + - name: continue-on-error Comment + uses: mainmatter/continue-on-error-comment@v1 - uses: haskell-actions/setup@v2 with: ghc-version: ${{ matrix.ghc }} + continue-on-error: true - run: cabal build + continue-on-error: true - uses: actions/upload-artifact@v4 with: name: ghcup-dump-log-${{ matrix.os }}-${{ matrix.ghc }} From 0dd9cda1ae10c9955744b0ed3c08e82b534bc9d7 Mon Sep 17 00:00:00 2001 From: Lei Zhu Date: Tue, 17 Dec 2024 21:26:53 +0800 Subject: [PATCH 5/6] Continue on error --- .github/workflows/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac8144e..33b4efb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,16 +17,14 @@ jobs: name: Build on ${{ matrix.os }} with GHC ${{ matrix.ghc }} + continue-on-error: true + steps: - uses: actions/checkout@v4 - - name: continue-on-error Comment - uses: mainmatter/continue-on-error-comment@v1 - uses: haskell-actions/setup@v2 with: ghc-version: ${{ matrix.ghc }} - continue-on-error: true - run: cabal build - continue-on-error: true - uses: actions/upload-artifact@v4 with: name: ghcup-dump-log-${{ matrix.os }}-${{ matrix.ghc }} From a4f177312eec3a14d5825f26b1edfe12d691d332 Mon Sep 17 00:00:00 2001 From: Lei Zhu Date: Tue, 17 Dec 2024 21:31:57 +0800 Subject: [PATCH 6/6] Continue on error --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 33b4efb..db5afc0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,9 @@ jobs: - uses: haskell-actions/setup@v2 with: ghc-version: ${{ matrix.ghc }} + continue-on-error: true - run: cabal build + continue-on-error: true - uses: actions/upload-artifact@v4 with: name: ghcup-dump-log-${{ matrix.os }}-${{ matrix.ghc }}