Skip to content

Commit

Permalink
New workflow for AUR package management
Browse files Browse the repository at this point in the history
  • Loading branch information
bitspittle committed Mar 21, 2024
1 parent 4fb69b0 commit 056f958
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/aur-temp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Generate AUR

on:
workflow_dispatch:
inputs:
dryRun:
description: 'Dry run'
type: boolean
required: true
default: true

jobs:
update-aur-package:
runs-on: ubuntu-latest
steps:
- name: Update AUR Package
uses: varabyte/update-aur-package@v1.0.1
with:
dry_run: ${{ github.event.inputs.dryRun }}
version: 0.9.15
package_name: kobweb
commit_username: phi1309
commit_email: phi1309@protonmail.com
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
10 changes: 10 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,13 @@ jobs:
- name: Publish Kobweb CLI to package managers
run: ./gradlew :kobweb:jreleaserPublish

- name: Update AUR Package
uses: varabyte/update-aur-package@v1.0.1
with:
dry_run: ${{ github.event.inputs.dryRun }}
version: ${{ steps.cli_version.outputs.VERSION }}
package_name: kobweb
commit_username: phi1309
commit_email: phi1309@protonmail.com
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}

0 comments on commit 056f958

Please sign in to comment.