From 1384e9daf6076e2ed3616a338eda1d9787d17ac3 Mon Sep 17 00:00:00 2001 From: Colin Basnett Date: Sun, 9 Jun 2024 12:06:59 -0700 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 39 +++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3170131..5f25191 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,26 +6,27 @@ on: branches: [ "main" ] pull_request: branches: [ "main" ] - -env: - BLENDER_VERSION: blender-4.2.0-beta+v42.d19d23e91f65-linux.x86_64-release - BLENDER_FILENAME: $BLENDER_VERSION.tar.xz - BLENDER_URL: https://cdn.builder.blender.org/download/daily/$BLENDER_FILENAME jobs: - configurator: + build: runs-on: ubuntu-latest + env: + BLENDER_VERSION: blender-4.2.0-beta+v42.d19d23e91f65-linux.x86_64-release steps: - - name: Install Blender Dependencies - run: | - sudo apt-get install libxxf86vm-dev -y - sudo apt-get install libxfixes3 -y - sudo apt-get install libxi-dev -y - sudo apt-get install libxkbcommon-x11-0 -y - sudo apt-get install libgl1-mesa-glx -y - - name: Download Blender - run: | - wget ${{ env.BLENDER_URL }} - tar -xvzf ${{ env.BLENDER_FILENAME }} - rm -rf ${{ env.BLENDER_FILENAME }} - - uses: actions/checkout@v3 + - name: Set derived environment variables + run: | + echo "BLENDER_FILENAME=${{ env.BLENDER_VERSION }}.tar.xz" >> $GITHUB_ENV + echo "BLENDER_URL=https://cdn.builder.blender.org/download/daily/${{ env.BLENDER_VERSION }}.tar.xz" >> $GITHUB_ENV + - name: Install Blender Dependencies + run: | + apt install libxxf86vm-dev -y + apt install libxfixes3 -y + apt install libxi-dev -y + apt install libxkbcommon-x11-0 -y + apt install libgl1-mesa-glx -y + - name: Download Blender + run: | + wget $BLENDER_URL + tar -xvzf $BLENDER_FILENAME + rm -rf $BLENDER_FILENAME + - uses: actions/checkout@v3