1 Commits

Author SHA1 Message Date
Dreaded_X bcac5c6e03 chore(actions): Publish Arch Linux package
Release / Arch Linux (push) Successful in 3m56s
2026-04-06 03:17:33 +02:00
2 changed files with 48 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
name: Release
on:
push:
tags:
- "v*"
jobs:
archlinux:
name: Arch Linux
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v6
- uses: https://git.huizinga.dev/infra/archlinux-package-action@v3
with:
path: .
- run: ls -alh
# - run: curl --user ${{ gitea.actor }}:${{ secrets.GITEA_TOKEN }} \
# --upload-file $(ls | grep -E 'crete-[0-9]+\.[0-9]+\.[0-9]+-[0-9]+-.*.pkg.tar.zst') \
# https://git.huizinga.dev/api/packages/infra/arch/core
+26
View File
@@ -5,6 +5,32 @@ and render jinja templates.
## Installation ## Installation
### Arch
First import the verification key:
```bash
wget https://git.huizinga.dev/api/packages/infra/arch/repository.key -O /tmp/repository.key
sudo pacman-key --add /tmp/repository.key
sudo pacman-key --lsign-key $(gpg --show-keys /tmp/repository.key | sed -n 2p)
```
And add the following to `/etc/pacman.conf`:
```ini
[infra]
SigLevel = Required
Server = https://git.huizinga.dev/api/packages/infra/arch/core/$arch
```
You can then install `crete` by running:
```bash
sudo pacman -Sy crete
```
### Cargo install
Add the following to `~/.cargo.config.toml`: Add the following to `~/.cargo.config.toml`:
```toml ```toml