File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -14,19 +14,13 @@ jobs:
1414 - name : Checkout repository
1515 uses : actions/checkout@v4
1616
17- - name : Set up SSH
18- run : |
19- mkdir -p ~/.ssh
20- echo "${{ secrets.AUR_SSH_PRIVATE_KEY }}" | tr -d '\r' > ~/.ssh/id_ed25519
21- chmod 600 ~/.ssh/id_ed25519
22- ssh-keygen -y -f ~/.ssh/id_ed25519 > ~/.ssh/id_ed25519.pub # Ensure valid key
23- eval "$(ssh-agent -s)"
24- ssh-add ~/.ssh/id_ed25519
25- ssh-keyscan -t ed25519 aur.archlinux.org >> ~/.ssh/known_hosts
17+ - uses : webfactory/ssh-agent@v0.9.0
18+ with :
19+ ssh-private-key : ${{ secrets.AUR_SSH_PRIVATE_KEY }}
2620
2721 - name : Clone AUR repository
2822 run : |
29- git clone ssh://aur@aur.archlinux.org/YOUR-PACKAGE-NAME .git aur-repo
23+ git clone ssh://aur@aur.archlinux.org/python-i686-bin .git aur-repo
3024 cd aur-repo
3125
3226 - name : Copy necessary files
You can’t perform that action at this time.
0 commit comments