Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
fu050409 committed Dec 19, 2024
1 parent ea97af5 commit f0c8fcf
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/covector-version-or-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- fix/aur

permissions:
# required for npm provenance
Expand Down Expand Up @@ -162,6 +163,6 @@ jobs:
- name: Install Makepkg
run: sudo apt-get update && sudo apt-get install -y makepkg pacman
- name: Publish to AUR
run: pnpm publish:aur --version ${{ needs.version-or-publish.outputs.version }}
run: pnpm publish:aur --version ${{ needs.version-or-publish.outputs.version }} --ci
env:
AUR_SSH_KEY: ${{ secrets.AUR_SSH_KEY }}
39 changes: 39 additions & 0 deletions .github/workflows/release-aur.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release AUR

on:
push:
branches:
- fix/aur

permissions:
# required for npm provenance
id-token: write
# required to create the GitHub Release
contents: write
# required for creating the Version Packages Release
pull-requests: write

jobs:
test-release-aur:
name: Publish to AUR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- name: Setup Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Install Makepkg
run: sudo apt-get update && sudo apt-get install -y makepkg pacman
- name: Publish to AUR
run: pnpm publish:aur --version 0.1.1-rc.1 --ci
env:
AUR_SSH_KEY: ${{ secrets.AUR_SSH_KEY }}

0 comments on commit f0c8fcf

Please sign in to comment.