Skip to content

Commit

Permalink
ci(release): fix destination directory of builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Jul 12, 2024
1 parent 5e9c395 commit bc8cd87
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/build-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Configure directories
run: |
# prevent fatal error when building stable packages
git config --global --add safe.directory /__w/pacman-repo/pacman-repo
# take full control of pkgbuilds directory
sudo chown -R $(whoami) pkgbuilds
- name: Download and Patch beta PKGBUILDs
if: matrix.repo == 'lizardbyte-beta'
if: matrix.release_name == 'beta'
run: |
# we don't want any stable packages to be built, so remove them
rm -rf pkgbuilds
Expand Down Expand Up @@ -163,6 +171,13 @@ jobs:
build-pacman-repo build
# ensure files are present in the repo
repo_files=$(ls repo)
if [[ -z "${repo_files}" ]]; then
echo "::error:: No files found in repo"
exit 1
fi
- name: Create/Update GitHub Release
if: github.event_name == 'schedule' || github.event_name == 'push'
uses: ncipollo/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Server = https://github.com/LizardByte/pacman-repo/releases/latest/download
```conf
[lizardbyte-beta]
SigLevel = Optional
Server = https://github.com/LizardByte/pacman-repo/releases/beta/download
Server = https://github.com/LizardByte/pacman-repo/releases/download/beta
```

Then, run `sudo pacman -Sy` to update repository.
Expand Down

0 comments on commit bc8cd87

Please sign in to comment.