diff options
| author | Eugen Wissner <belka@caraus.de> | 2025-01-16 17:57:07 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2025-01-16 17:57:07 +0100 |
| commit | 1d81fea1a330a5932f1a1dfae06c89a6e37d69c2 (patch) | |
| tree | b6646a990c39d75ed37f1b272326dbfb8fe38df5 /.gitea/workflows/deploy.yaml | |
| parent | e2debec6d7f750769ba8b5e7001e242c625b6729 (diff) | |
| download | slackbuilder-1d81fea1a330a5932f1a1dfae06c89a6e37d69c2.tar.gz | |
Remove extensions unused with GHC2024
Diffstat (limited to '.gitea/workflows/deploy.yaml')
| -rw-r--r-- | .gitea/workflows/deploy.yaml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..400464b --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -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 }} |
