Skip to content

Commit 36ef395

Browse files
committed
Generate packages info
1 parent d0e4bec commit 36ef395

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/publishRepo.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ jobs:
3434
codename: ${{ env.CODENAME }}
3535
components: ${{ env.COMPONENTS }}
3636
architectures: ${{ env.ARCHITECTURES }}
37+
- name: Install XML converter
38+
run: sudo apt install -y dctrl2xml
39+
- name: Convert Packages file to XML
40+
run: |
41+
cd ${{ steps.create-apt-repo.outputs.dir }}/${{ env.CODENAME }}/${{ env.COMPONENTS }}/binary-${{ env.ARCHITECTURES }}
42+
dctrl2xml -f Packages -j > Packages.json
43+
cd -
3744
- name: Upload Pages artifact
3845
id: upload-artifact
3946
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)