Update the checkout and upload artifact Actions #4851
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Miyoo ARM32 | |
on: | |
push: | |
pull_request: | |
repository_dispatch: | |
types: [run_build] | |
permissions: | |
contents: read | |
env: | |
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: git.libretro.com:5050/libretro-infrastructure/libretro-build-dingux:latest | |
options: --user root | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Compile RA | |
run: | | |
make -j$(getconf _NPROCESSORS_ONLN) -f Makefile.miyoo clean | |
make -j$(getconf _NPROCESSORS_ONLN) -f Makefile.miyoo | |
- name: Get short SHA | |
id: slug | |
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)" | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: retroarch_miyoo_arm32${{ steps.slug.outputs.sha8 }} | |
path: | | |
retroarch |