Skip to content

Commit

Permalink
Split github action steps
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme committed Oct 23, 2023
1 parent 897347d commit a28e9a4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,23 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Archive
- name: Download GSI
run: |
curl -fsSLo ${{ matrix.type }}.zip ${{ matrix.link }}
- name: Mount GSI
run: |
unzip ${{ matrix.type }}.zip
mkdir sysroot
sudo mount -o loop,ro system.img sysroot
- name: List GSI Contents
run: |
cd sysroot
find . -print0 | xargs -0 ls -dl
- name: Archive
run: |
cd sysroot
sudo ../libexec/ls-files | sudo tar -cvzf ../${{ matrix.type }}.tar.gz -T-
Expand Down

0 comments on commit a28e9a4

Please sign in to comment.