From 3f4f9d1d083aba1ba20bb41f9046147c33564bf8 Mon Sep 17 00:00:00 2001 From: Fledge68 Date: Fri, 17 Mar 2023 08:47:25 -0500 Subject: [PATCH] - attempt to fix CI (Continuous Integration) to use github enviroments. --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c25ea34f..ad5659e5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,14 +4,14 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest timeout-minutes: 20 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Cache id: cache-1 - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: cache key: ${{ runner.os }}-cache-1 @@ -51,12 +51,12 @@ jobs: mkdir -p wiiflow cp -r wii/wiiflow/Languages wiiflow/languages cp -r wii/wiiflow/themes_lite wiiflow/themes_lite - echo "::set-output name=sha::$(echo ${GITHUB_SHA} | head -c 7)" + echo "sha=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV - name: Upload binaries uses: actions/upload-artifact@v2 with: - name: wiiflow_lite_${{ steps.pack.outputs.sha }} + name: wiiflow_lite_${{ env.sha }} path: | apps wiiflow