mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-27 13:44:15 +01:00
- attempt to fix CI (Continuous Integration) to use github enviroments.
This commit is contained in:
parent
882ad5c672
commit
3f4f9d1d08
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -4,14 +4,14 @@ on: [push, pull_request]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Cache
|
- name: Cache
|
||||||
id: cache-1
|
id: cache-1
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: cache
|
path: cache
|
||||||
key: ${{ runner.os }}-cache-1
|
key: ${{ runner.os }}-cache-1
|
||||||
@ -51,12 +51,12 @@ jobs:
|
|||||||
mkdir -p wiiflow
|
mkdir -p wiiflow
|
||||||
cp -r wii/wiiflow/Languages wiiflow/languages
|
cp -r wii/wiiflow/Languages wiiflow/languages
|
||||||
cp -r wii/wiiflow/themes_lite wiiflow/themes_lite
|
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
|
- name: Upload binaries
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: wiiflow_lite_${{ steps.pack.outputs.sha }}
|
name: wiiflow_lite_${{ env.sha }}
|
||||||
path: |
|
path: |
|
||||||
apps
|
apps
|
||||||
wiiflow
|
wiiflow
|
||||||
|
Loading…
Reference in New Issue
Block a user