From 5aa5daac01189c0cc1be38547ea7e38c31f1b0a8 Mon Sep 17 00:00:00 2001 From: Lewis Jackson <> Date: Wed, 31 May 2023 22:50:47 +0300 Subject: [PATCH] Clean up YML --- .forgejo/workflows/compile.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.forgejo/workflows/compile.yml b/.forgejo/workflows/compile.yml index 9c43e73..2d8ab26 100644 --- a/.forgejo/workflows/compile.yml +++ b/.forgejo/workflows/compile.yml @@ -5,19 +5,10 @@ jobs: Compile: runs-on: ubuntu-latest steps: - - name: Setup PlatformIO - run: | - apt update - apt -y install curl git python3 python3-pip - python3 -m pip install --upgrade pip - pip3 install -U platformio - pio upgrade --dev - - name: Setup node - run: | - curl -fsSL https://deb.nodesource.com/setup_20.x | bash - - apt-get install -y nodejs - name: Checkout code uses: actions/checkout@v3 + - name: Compile - run: cd ${{ github.workspace }} - run: pio run + run: | + cd ${{ github.workspace }} + pio run