@@ -20,6 +20,13 @@ jobs:
|
|||||||
enable-stack: true
|
enable-stack: true
|
||||||
stack-no-global: true
|
stack-no-global: true
|
||||||
stack-setup-ghc: false
|
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
|
- name: Install GHC
|
||||||
run: stack setup
|
run: stack setup
|
||||||
- name: Build with Stack
|
- 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
|
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
|
cp -r "${{ gitea.workspace }}/licenses" usr/share/license-tool
|
||||||
tar -caf "${tarball}" usr/
|
tar -caf "${tarball}" usr/
|
||||||
- name: Upload Artifacts
|
# - name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v7
|
# uses: actions/upload-artifact@v7
|
||||||
with:
|
# with:
|
||||||
path: ${{ env.tarball }}
|
# path: ${{ env.tarball }}
|
||||||
compression-level: 0
|
# compression-level: 0
|
||||||
archive: false
|
# archive: false
|
||||||
|
|||||||
Reference in New Issue
Block a user