mirror of
https://github.com/sst/opencode.git
synced 2025-08-22 14:04:07 +00:00
ci: enable aur
This commit is contained in:
parent
9fa3e0a0ec
commit
d1876e3031
2 changed files with 5 additions and 8 deletions
11
.github/workflows/publish.yml
vendored
11
.github/workflows/publish.yml
vendored
|
@ -48,11 +48,10 @@ jobs:
|
|||
restore-keys: |
|
||||
${{ runner.os }}-bun-
|
||||
|
||||
# Temporarily disabled AUR steps
|
||||
# - name: Install makepkg
|
||||
# run: |
|
||||
# sudo apt-get update
|
||||
# sudo apt-get install -y pacman-package-manager
|
||||
- name: Install makepkg
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y pacman-package-manager
|
||||
|
||||
- name: Setup SSH for AUR
|
||||
run: |
|
||||
|
@ -61,7 +60,7 @@ jobs:
|
|||
chmod 600 ~/.ssh/id_rsa
|
||||
git config --global user.email "opencode@sst.dev"
|
||||
git config --global user.name "opencode"
|
||||
# ssh-keyscan -H aur.archlinux.org >> ~/.ssh/known_hosts
|
||||
ssh-keyscan -H aur.archlinux.org >> ~/.ssh/known_hosts
|
||||
- name: Install dependencies
|
||||
run: bun install
|
||||
|
||||
|
|
|
@ -97,7 +97,6 @@ if (!snapshot) {
|
|||
const macX64Sha = await $`sha256sum ./dist/opencode-darwin-x64.zip | cut -d' ' -f1`.text().then((x) => x.trim())
|
||||
const macArm64Sha = await $`sha256sum ./dist/opencode-darwin-arm64.zip | cut -d' ' -f1`.text().then((x) => x.trim())
|
||||
|
||||
/*
|
||||
// AUR package
|
||||
const pkgbuild = [
|
||||
"# Maintainer: dax",
|
||||
|
@ -137,7 +136,6 @@ if (!snapshot) {
|
|||
await $`cd ./dist/aur-${pkg} && git commit -m "Update to v${version}"`
|
||||
if (!dry) await $`cd ./dist/aur-${pkg} && git push`
|
||||
}
|
||||
*/
|
||||
|
||||
// Homebrew formula
|
||||
const homebrewFormula = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue