diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 93f69df..3f7c163 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -20,6 +20,13 @@ jobs: enable-stack: true stack-no-global: true stack-setup-ghc: false + - name: Cache GHC + uses: actions/cache@v4 + with: + path: | + ~/.stack + ${{ gitea.workspace }}/.stack-work + key: ${{ runner.os }}-${{ hashFiles('stack.yaml') }} - name: Install GHC run: stack setup - name: Build with Stack @@ -31,9 +38,9 @@ jobs: install -m 0644 -D "${{ gitea.workspace }}/completion/license-tool.zsh" usr/share/zsh/site-functions/_license-tool cp -r "${{ gitea.workspace }}/licenses" usr/share/license-tool tar -caf "${tarball}" usr/ - - name: Upload Artifacts - uses: actions/upload-artifact@v7 - with: - path: ${{ env.tarball }} - compression-level: 0 - archive: false + # - name: Upload Artifacts + # uses: actions/upload-artifact@v7 + # with: + # path: ${{ env.tarball }} + # compression-level: 0 + # archive: false