Compare commits
1 Commits
bcac5c6e03
...
1751438ff0
| Author | SHA1 | Date | |
|---|---|---|---|
|
1751438ff0
|
@@ -0,0 +1,22 @@
|
|||||||
|
name: Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
archlinux:
|
||||||
|
name: Arch Linux
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: archlinux
|
||||||
|
options: --privileged
|
||||||
|
permissions:
|
||||||
|
packages: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v6
|
||||||
|
- name: Build Arch Linux package
|
||||||
|
uses: FFY00/build-arch-package@v1
|
||||||
|
with:
|
||||||
|
PKGBUILD: ./PKGBUILD
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user