-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e03d91
commit 2dcf214
Showing
17 changed files
with
54 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Update AUR | ||
|
||
on: | ||
workflow_run: | ||
workflows: ['Release'] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
run_on_release_success: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
steps: | ||
- name: Setup git auth | ||
run: | | ||
mkdir -p ~/.ssh | ||
echo "${{ secrets.AUR_SSH_PRIVATE_KEY }}" > ~/.ssh/aur | ||
chmod 600 ~/.ssh/aur | ||
echo -e "Host aur.archlinux.org\n IdentityFile ~/.ssh/aur\n User aur\n StrictHostKeyChecking=no" > ~/.ssh/config | ||
git config --global user.name "${{ secrets.AUR_USERNAME }}" | ||
git config --global user.email "${{ secrets.AUR_EMAIL }}" | ||
- name: Clone AUR | ||
run: | | ||
git clone ssh://aur@aur.archlinux.org/capter.git | ||
- name: Update AUR | ||
uses: heyhusen/archlinux-package-action@v2 | ||
with: | ||
path: capter | ||
flags: '--nodeps --nobuild' | ||
namcap: false | ||
srcinfo: true | ||
|
||
- name: Push Update | ||
run: | | ||
cd capter | ||
git add PKGBUILD .SRCINFO | ||
git commit -m "Update: ${{ github.ref_name }}" || echo "No changes !!" | ||
git push --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[Desktop Entry] | ||
Name=Capter | ||
Comment=A simple cross-platform screenshot tool | ||
Exec=capter | ||
Icon=capter | ||
Terminal=false | ||
Type=Application | ||
Categories=Utility |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters