Skip to content

Commit

Permalink
Update lo-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
biliwala authored Nov 16, 2021
1 parent 3a6e961 commit 9a1e895
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/lo-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

build_packages:
name: Build ${{ github.event.client_payload.device || github.event.inputs.device }} packages
runs-on: ubuntu-18.04
runs-on: self-hosted # ubuntu-18.04
env:
DEVICE: ${{ github.event.client_payload.device || github.event.inputs.device }}
BRANCH: ${{ github.event.client_payload.branch || github.event.inputs.branch }}
Expand Down Expand Up @@ -147,7 +147,9 @@ jobs:
cd
sleep 60
sudo mount -o remount,compress=no,nodatacow,nodatasum lede
cd lede/; pv /dev/zero > zerospace || true; sync; rm -f zerospace; cd -
cd lede/
pv /dev/zero > zerospace || true
sync && rm -f zerospace && cd -
sleep 60
sudo umount lede
sudo losetup -d $LOOP_DEVICE
Expand Down Expand Up @@ -181,7 +183,7 @@ jobs:
- name: Debug via tmate
uses: P3TERX/ssh2actions@main
if: 0 #${{ failure() && env.TG }}
if: false #${{ failure() && env.TG }}
env:
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
Expand Down

0 comments on commit 9a1e895

Please sign in to comment.