-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
12 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 |
---|---|---|
|
@@ -44,24 +44,16 @@ jobs: | |
- name: Set source permissions | ||
run: | | ||
chown -R nonroot:nonroot . | ||
- name: Clone sedspkg | ||
run: | | ||
git clone --depth 1 https://${{ secrets.GITLAB_SECRET_TOKEN }}@gitlab.com/benmezger/sedspkgs.git $pkgsdir && \ | ||
chown -R nonroot:nonroot $pkgsdir | ||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
- name: Build packages | ||
run: | | ||
sudo -u nonroot just makepkg_flags=$makepkg_flags all | ||
sudo -E -u nonroot just makepkg_flags=$makepkg_flags all | ||
- name: Show sedspkg diff | ||
run: | | ||
cd $pkgsdir | ||
sudo -u nonroot git diff | ||
- name: Commit and release | ||
run: | | ||
cd $pkgsdir | ||
git config --global --add safe.directory $pkgsdir | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Ben Mezger" | ||
git remote set-url origin https://oauth:${{ secrets.GITLAB_SECRET_TOKEN }}@gitlab.com/benmezger/sedspkgs.git | ||
sudo -u nonroot just push-packages |