Skip to content

Commit b1d4016

Browse files
committed
update flows
1 parent 2380a60 commit b1d4016

4 files changed

Lines changed: 9 additions & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,8 @@ jobs:
133133
134134
- name: Setup xbps-src
135135
run: |
136-
ls -R ../vup
137136
cd void-packages
138-
cp ../vup/vup/xbps-src .
137+
cp ../vup/xbps-src .
139138
chmod +x xbps-src
140139
echo "XBPS_ALLOW_RESTRICTED=yes" >> etc/conf
141140
@@ -153,7 +152,7 @@ jobs:
153152
run: |
154153
mkdir -p void-packages/dist
155154
cd void-packages/dist
156-
python3 ../../vup/vup/scripts/manage_release.py download
155+
python3 ../vup/scripts/manage_release.py download
157156
rm -f repodata
158157
159158
- name: Build Packages (Buffered)
@@ -162,14 +161,14 @@ jobs:
162161
run: |
163162
cd void-packages
164163
# category is passed via env
165-
python3 ../vup/vup/scripts/build_runner.py
164+
python3 ../vup/scripts/build_runner.py
166165
167166
- name: Prune and Index
168167
env:
169168
XBPS_PRIVATE_KEY: ${{ secrets.XBPS_PRIVATE_KEY }}
170169
run: |
171170
cd void-packages/dist
172-
python3 ../../vup/vup/scripts/manage_release.py prune
171+
python3 ../vup/scripts/manage_release.py prune
173172
174173
if [ ! -z "$XBPS_PRIVATE_KEY" ]; then
175174
echo "$XBPS_PRIVATE_KEY" > ../privkey.pem
@@ -197,7 +196,7 @@ jobs:
197196
CATEGORY: ${{ matrix.category }}
198197
run: |
199198
cd void-packages/dist
200-
python3 ../../vup/vup/scripts/manage_release.py clean_remote
199+
python3 ../vup/scripts/manage_release.py clean_remote
201200
202201
- name: Upload New Assets
203202
env:

.github/workflows/pr-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
run: |
9696
cd void-packages
9797
# Override xbps-src with our custom version
98-
cp ../vup/vup/xbps-src .
98+
cp ../vup/xbps-src .
9999
chmod +x xbps-src
100100
101101
# Authorize restricted packages
@@ -111,7 +111,7 @@ jobs:
111111
if: steps.check_changes.outputs.skip != 'true'
112112
run: |
113113
cd void-packages
114-
CATEGORY_PATH="../vup/vup/srcpkgs/${{ matrix.category }}"
114+
CATEGORY_PATH="../vup/srcpkgs/${{ matrix.category }}"
115115
116116
# Re-detect changed packages to iterate specifically over them
117117
# Or just build everything in the category that is present?

.github/workflows/vuru-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
echo "Updating template to version $VERSION with checksum $CHECKSUM"
5555
5656
# NOTE: 'vup' is the checkout directory, 'vup/srcpkgs' is inside the repo
57-
TEMPLATE="vup/vup/srcpkgs/core/vuru/template"
57+
TEMPLATE="vup/srcpkgs/core/vuru/template"
5858
5959
sed -i "s/^version=.*/version=$VERSION/" "$TEMPLATE"
6060
sed -i "s/^checksum=.*/checksum=\"$CHECKSUM\"/" "$TEMPLATE"

vup/scripts/build_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def main():
4242

4343
# Assumes we are running from 'void-packages' directory
4444
# and vup checkout is at '../vup'
45-
vup_src_path = f"../vup/vup/srcpkgs/{category}"
45+
vup_src_path = f"../vup/srcpkgs/{category}"
4646

4747
if not os.path.exists(vup_src_path):
4848
print(f"Category path {vup_src_path} does not exist.")

0 commit comments

Comments
 (0)