- attempt to fix CI (Continuous Integration) to use github enviroments.

This commit is contained in:
Fledge68 2023-03-17 08:47:25 -05:00
parent 882ad5c672
commit 3f4f9d1d08

View File

@ -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