Compare commits
No commits in common. "81a3efd0332096e9954d9aa0201cb313e931aa44" and "6df7856873f0030101828069c9fde1ab7d8850e8" have entirely different histories.
81a3efd033
...
6df7856873
1 changed files with 2 additions and 15 deletions
17
action.yml
17
action.yml
|
@ -60,21 +60,8 @@ runs:
|
||||||
|
|
||||||
export GIT_SSH_COMMAND='ssh -i ~/.ssh/ssh_key -o IdentitiesOnly=yes'
|
export GIT_SSH_COMMAND='ssh -i ~/.ssh/ssh_key -o IdentitiesOnly=yes'
|
||||||
git clone "ssh://aur@aur.archlinux.org/$pkgbase.git" aur
|
git clone "ssh://aur@aur.archlinux.org/$pkgbase.git" aur
|
||||||
find aur -maxdepth 1 -type f \
|
find aur -maxdepth 1 -type f | (set -x; while read file; do rm -f "$file"; done)
|
||||||
| while read file
|
find . -maxdepth 1 -type f | (set -x; while read file; do cp "$file" aur; done)
|
||||||
do
|
|
||||||
echo "Removing old file $file ..."
|
|
||||||
rm -f "$file"
|
|
||||||
done
|
|
||||||
git ls-tree --name-only HEAD \
|
|
||||||
| while read file
|
|
||||||
do
|
|
||||||
if [ -f "$file" ]
|
|
||||||
then
|
|
||||||
echo "Copying new file $file ..."
|
|
||||||
cp "$file" aur
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
cd aur
|
cd aur
|
||||||
git add .
|
git add .
|
||||||
git config user.name "${{github.event.head_commit.committer.name}}"
|
git config user.name "${{github.event.head_commit.committer.name}}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue