Skip to content

Commit a14cbb0

Browse files
committed
final
1 parent 679d939 commit a14cbb0

4 files changed

Lines changed: 61 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,33 @@ jobs:
9494
repository: void-linux/void-packages
9595
path: void-packages
9696

97-
- name: Bootstrap xbps-src
97+
- name: Cache xbps-src bootstrap
98+
if: steps.gate.outputs.skip != 'true'
99+
id: cache-bootstrap
100+
uses: actions/cache@v3
101+
with:
102+
path: |
103+
void-packages/masterdir-*
104+
void-packages/hostdir/repocache
105+
key: xbps-bootstrap-${{ runner.os }}-${{ hashFiles('void-packages/srcpkgs/base-chroot/template') }}
106+
restore-keys: |
107+
xbps-bootstrap-${{ runner.os }}-
108+
109+
- name: Setup xbps-src
98110
if: steps.gate.outputs.skip != 'true'
99111
run: |
100112
cd void-packages
101113
# Override xbps-src with our custom version
102114
cp ../vup/vup/xbps-src .
103115
chmod +x xbps-src
104116
117+
# Authorize restricted packages
118+
echo "XBPS_ALLOW_RESTRICTED=yes" >> etc/conf
119+
120+
- name: Binary Bootstrap
121+
if: steps.gate.outputs.skip != 'true' && steps.cache-bootstrap.outputs.cache-hit != 'true'
122+
run: |
123+
cd void-packages
105124
./xbps-src binary-bootstrap
106125
107126
- name: Sync Existing Release

.github/workflows/pr-check.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,18 +83,33 @@ jobs:
8383
repository: void-linux/void-packages
8484
path: void-packages
8585

86-
- name: Prepare Build Environment
86+
- name: Cache xbps-src bootstrap
87+
if: steps.check_changes.outputs.skip != 'true'
88+
id: cache-bootstrap
89+
uses: actions/cache@v3
90+
with:
91+
path: |
92+
void-packages/masterdir-*
93+
void-packages/hostdir/repocache
94+
key: xbps-bootstrap-${{ runner.os }}-${{ hashFiles('void-packages/srcpkgs/base-chroot/template') }}
95+
restore-keys: |
96+
xbps-bootstrap-${{ runner.os }}-
97+
98+
- name: Setup xbps-src
8799
if: steps.check_changes.outputs.skip != 'true'
88100
run: |
89101
cd void-packages
90102
# Override xbps-src with our custom version
91103
cp ../vup/vup/xbps-src .
92104
chmod +x xbps-src
93105
94-
# Override xbps-src with our custom version
95-
cp ../vup/vup/xbps-src .
96-
chmod +x xbps-src
97-
106+
# Authorize restricted packages
107+
echo "XBPS_ALLOW_RESTRICTED=yes" >> etc/conf
108+
109+
- name: Binary Bootstrap
110+
if: steps.check_changes.outputs.skip != 'true' && steps.cache-bootstrap.outputs.cache-hit != 'true'
111+
run: |
112+
cd void-packages
98113
./xbps-src binary-bootstrap
99114
100115
- name: Build Modified Packages

.github/workflows/vuru-release.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,31 @@ jobs:
3737
repository: void-linux/void-packages
3838
path: void-packages
3939

40-
- name: Setup Custom xbps-src
40+
- name: Cache xbps-src bootstrap
41+
id: cache-bootstrap
42+
uses: actions/cache@v3
43+
with:
44+
path: |
45+
void-packages/masterdir-*
46+
void-packages/hostdir/repocache
47+
key: xbps-bootstrap-${{ runner.os }}-${{ hashFiles('void-packages/srcpkgs/base-chroot/template') }}
48+
restore-keys: |
49+
xbps-bootstrap-${{ runner.os }}-
50+
51+
- name: Setup xbps-src
4152
run: |
4253
cd void-packages
54+
# Override xbps-src with our custom version
4355
cp ../vup/vup/xbps-src .
4456
chmod +x xbps-src
4557
58+
# Authorize restricted packages
59+
echo "XBPS_ALLOW_RESTRICTED=yes" >> etc/conf
60+
61+
- name: Binary Bootstrap
62+
if: steps.cache-bootstrap.outputs.cache-hit != 'true'
63+
run: |
64+
cd void-packages
4665
# Override xbps-src with our custom version
4766
cp ../vup/vup/xbps-src .
4867
chmod +x xbps-src

vup/srcpkgs/editors/antigravity/template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Template file for 'antigravity'
1+
# Template file for 'antigravity'
22
pkgname=antigravity
33
version=1.13.3
44
revision=1

0 commit comments

Comments
 (0)