Remove extensions unused with GHC2024
All checks were successful
Build / audit (push) Successful in 8s
Build / test (push) Successful in 12m13s
Build / release (push) Successful in 11m45s

This commit is contained in:
2025-01-16 17:57:07 +01:00
parent e2debec6d7
commit 1d81fea1a3
2 changed files with 30 additions and 7 deletions

View File

@ -0,0 +1,29 @@
name: Deploy
on:
push:
tags:
- '**'
jobs:
release:
runs-on: buildenv
steps:
- name: Set up environment
run: |
apt-get update -y
apt-get upgrade -y
apt-get install -y pkg-config liblzma-dev
- uses: actions/checkout@v4
- run: cabal update
- run: cabal build
- name: Archive
run: |
DISTRIBUTION=$(echo $GITHUB_REF_NAME | awk '{ gsub(/^v/, "slackbuilder-"); print $0 }')
cabal install --installdir=$DISTRIBUTION/bin --install-method=copy
strip $DISTRIBUTION/bin/slackbuilder
tar Jcvf $DISTRIBUTION.tar.xz $DISTRIBUTION
- uses: akkuman/gitea-release-action@v1
with:
files: "*.tar.xz"
token: ${{ secrets.API_KEY }}