Skip to content

Commit

Permalink
infra(release): to AUR, GitHub, and Homebrew with a single workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpvik committed Jan 27, 2023
1 parent 9fa2f39 commit 74ceb1c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 27 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/publish-to-aur.yaml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,23 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}

publish-to-aur:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: "Publish AUR package"
uses: KSXGitHub/github-actions-deploy-aur@v2.2.5
with:
commit_email: "${{ secrets.AUR_EMAIL }}"
commit_message: "Update AUR package"
commit_username: "${{ secrets.AUR_USERNAME }}"
pkgbuild: ./PKGBUILD
pkgname: sema
ssh_keyscan_types: rsa,dsa,ecdsa,ed25519
ssh_private_key: "${{ secrets.AUR_SSH_PRIVATE_KEY }}"


0 comments on commit 74ceb1c

Please sign in to comment.