small fixes #19
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: "Sanity Check" | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: "Checkout" | |
uses: actions/checkout@v2 | |
- | |
name: "Setup Environment" | |
run: | | |
git clone https://github.com/Scene-Collective/ps4-payload-sdk ~/ps4-payload-sdk && cd "$_" | |
chmod +x install.sh | |
sudo ./install.sh | |
- | |
name: "Build Payload" | |
run: | | |
export PS4SDK=/opt/ps4sdk | |
make | |
- | |
name: "Upload Binary Artifact" | |
uses: actions/upload-artifact@v2 | |
with: | |
path: ./*.bin | |
if-no-files-found: error | |
- | |
name: "Upload Map Artifact" | |
uses: actions/upload-artifact@v2 | |
with: | |
path: ./*.map | |
if-no-files-found: error |