File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Publish to AUR
33on :
44 push :
55 branches :
6- - master
6+ - main # Adjust if necessary
77
88jobs :
99 aur-push :
@@ -16,13 +16,16 @@ jobs:
1616 - name : Set up SSH
1717 run : |
1818 mkdir -p ~/.ssh
19- echo "${{ secrets.AUR_SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
19+ echo "${{ secrets.AUR_SSH_PRIVATE_KEY }}" | tr -d '\r' > ~/.ssh/id_ed25519
2020 chmod 600 ~/.ssh/id_ed25519
21+ ssh-keygen -y -f ~/.ssh/id_ed25519 > ~/.ssh/id_ed25519.pub # Ensure valid key
22+ eval "$(ssh-agent -s)"
23+ ssh-add ~/.ssh/id_ed25519
2124 ssh-keyscan -t ed25519 aur.archlinux.org >> ~/.ssh/known_hosts
2225
2326 - name : Clone AUR repository
2427 run : |
25- git clone ssh://[email protected] /python-i686-bin .git aur-repo 28+ git clone ssh://[email protected] /YOUR-PACKAGE-NAME .git aur-repo 2629 cd aur-repo
2730
2831 - name : Copy necessary files
You can’t perform that action at this time.
0 commit comments