summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-12-17 14:47:58 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-12-17 14:47:58 -0500
commit07b378c87b5afacc552e53530484f71ef2f093b9 (patch)
tree0826201b074fad9f955dedbb1db0dbb962478646 /.github/workflows
parent1f10ad828b1febc4e7d716635a693fb9228d9f71 (diff)
code 18
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/aur.yml54
1 files changed, 27 insertions, 27 deletions
diff --git a/.github/workflows/aur.yml b/.github/workflows/aur.yml
index 65292b4..86432f1 100644
--- a/.github/workflows/aur.yml
+++ b/.github/workflows/aur.yml
@@ -3,30 +3,30 @@ name: Publish to the AUR
on:
workflow_dispatch: # Manual trigger via GitHub UI
jobs:
-publish-aur:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout repository
- uses: actions/checkout@v3
- - name: Set up Docker
- uses: docker/setup-buildx-action@v2
- with:
- driver: auto
- - name: Build AUR Package
- run: |
- docker build -t aur-publisher -f releases/aur/Dockerfile .
- - name: Run AUR Publisher
- env:
- AUR_PRIVATE_KEY: ${{ secrets.AUR_PRIVATE_KEY }}
- AUR_PUBLIC_KEY: ${{ secrets.AUR_PUBLIC_KEY }}
- PKG_REPO_URI: https://github.com/ChausseBenjamin/termpicker.git
- PKG_NAME: termpicker
- GIT_USER: ChausseBenjamin
- run: |-
- docker run \
- -e AUR_PRIVATE_KEY=$AUR_PRIVATE_KEY \
- -e AUR_PUBLIC_KEY=$AUR_PUBLIC_KEY \
- -e PKG_REPO_URI=$PKG_REPO_URI \
- -e PKG_NAME=$PKG_NAME \
- -e GIT_USER=$GIT_USER \
- aur-publisher
+ publish-aur:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v3
+ - name: Set up Docker
+ uses: docker/setup-buildx-action@v2
+ with:
+ driver: auto
+ - name: Build AUR Package
+ run: |
+ docker build -t aur-publisher -f releases/aur/Dockerfile .
+ - name: Run AUR Publisher
+ env:
+ AUR_PRIVATE_KEY: ${{ secrets.AUR_PRIVATE_KEY }}
+ AUR_PUBLIC_KEY: ${{ secrets.AUR_PUBLIC_KEY }}
+ PKG_REPO_URI: https://github.com/ChausseBenjamin/termpicker.git
+ PKG_NAME: termpicker
+ GIT_USER: ChausseBenjamin
+ run: |-
+ docker run \
+ -e AUR_PRIVATE_KEY=$AUR_PRIVATE_KEY \
+ -e AUR_PUBLIC_KEY=$AUR_PUBLIC_KEY \
+ -e PKG_REPO_URI=$PKG_REPO_URI \
+ -e PKG_NAME=$PKG_NAME \
+ -e GIT_USER=$GIT_USER \
+ aur-publisher