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 a677e82
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/build-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Configure git
run: git config --global --add safe.directory /__w/pacman-repo/pacman-repo

- 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 +166,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 a677e82

Please sign in to comment.