Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
yitzchak committed Aug 17, 2023
1 parent a351b76 commit 60134b6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,13 @@ jobs:
runs-on: ubuntu-latest
container:
image: ghcr.io/yitzchak/archlinux-makepkg:latest
options: --user root
steps:
- name: Set permissions and update packages
run: |
sudo chown -R build: .
sudo chown -R build: /github/home
sudo pacman -Syu --noconfirm
sudo chmod -Rv a+rw /__w/_temp/_runner_file_commands
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v5
Expand All @@ -221,9 +221,9 @@ jobs:
passphrase: ${{ secrets.PKG_GPG_PASSPHRASE }}
- name: Build Arch packages
run: |
sudo -u build wget -O PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=clasp-cl-git
sudo -u build sed -i "s/clasp\.git/clasp\.git#commit=${{ github.sha }}/g" PKGBUILD
sudo -u build makepkg --noconfirm --syncdeps --sign --key ${{ steps.import_gpg.outputs.keyid }}
wget -O PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=clasp-cl-git
sed -i "s/clasp\.git/clasp\.git#commit=${{ github.sha }}/g" PKGBUILD
makepkg --noconfirm --syncdeps --sign --key ${{ steps.import_gpg.outputs.keyid }}
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
Expand All @@ -236,12 +236,12 @@ jobs:
runs-on: ubuntu-latest
container:
image: ghcr.io/yitzchak/archlinux-makepkg:latest
options: --user root
steps:
- name: Set permissions and update packages
run: |
sudo chown -R build: .
sudo chown -R build: /github/home
sudo chown -R build: /__w
sudo pacman -Syu --noconfirm
- name: Import GPG key
id: import_gpg
Expand All @@ -251,9 +251,9 @@ jobs:
passphrase: ${{ secrets.PKG_GPG_PASSPHRASE }}
- name: Build Arch packages
run: |
sudo -u build wget -O PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=cando-git
sudo -u build sed -i "s/clasp\.git/clasp\.git#commit=${{ github.sha }}/g" PKGBUILD
sudo -u build makepkg --noconfirm --syncdeps --sign --key ${{ steps.import_gpg.outputs.keyid }}
wget -O PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=cando-git
sed -i "s/clasp\.git/clasp\.git#commit=${{ github.sha }}/g" PKGBUILD
build makepkg --noconfirm --syncdeps --sign --key ${{ steps.import_gpg.outputs.keyid }}
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 60134b6

Please sign in to comment.