Skip to content

Update actions/checkout and actions/upload-artifact to v4 #1

Update actions/checkout and actions/upload-artifact to v4

Update actions/checkout and actions/upload-artifact to v4 #1

Workflow file for this run

name: CI
on:
push:
pull_request:
repository_dispatch:
types: [run_build]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Get Information Variables
id: core
run: |
echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
- name: Compile project
run: |
sh build.sh
cd build
mkdir vita-toolchain
make install DESTDIR=../vita-toolchain
- name: Upload artifacts
if: ${{ success() }}
uses: actions/upload-artifact@v4
with:
name: vita-toolchain-${{ steps.core.outputs.sha8 }}
path: ./vita-toolchain/usr/local/