generated from LizardByte/template-base
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(release): fix destination directory of builds
- Loading branch information
1 parent
5e9c395
commit bc8cd87
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters