mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
ci
This commit is contained in:
parent
38a79fa449
commit
4ecebc2c83
1 changed files with 4 additions and 5 deletions
9
.github/workflows/publish.yml
vendored
9
.github/workflows/publish.yml
vendored
|
|
@ -40,13 +40,11 @@ jobs:
|
|||
|
||||
- uses: ./.github/actions/setup-bun
|
||||
|
||||
- name: Install makepkg
|
||||
- name: Setup SSH for AUR
|
||||
if: inputs.bump || inputs.version
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y pacman-package-manager
|
||||
|
||||
- name: Setup SSH for AUR
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.AUR_KEY }}" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
|
|
@ -55,6 +53,7 @@ jobs:
|
|||
ssh-keyscan -H aur.archlinux.org >> ~/.ssh/known_hosts || true
|
||||
|
||||
- name: Install OpenCode
|
||||
if: inputs.bump || inputs.version
|
||||
run: curl -fsSL https://opencode.ai/install | bash
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
|
|
@ -81,7 +80,7 @@ jobs:
|
|||
NPM_CONFIG_PROVENANCE: false
|
||||
|
||||
publish-tauri:
|
||||
if: github.repository == 'sst/opencode' && github.ref == 'refs/heads/DISABLED'
|
||||
if: inputs.bump || inputs.version
|
||||
continue-on-error: true
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue