Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Update build.yml
  • Loading branch information
bucanero committed Apr 8, 2022
1 parent 593ec37 commit b6b43c1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,23 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
fetch-depth: 1

- name: Checkout Dependecies
run: |
git clone https://github.com/bucanero/dbglogger.git --depth 1
git clone https://github.com/bucanero/ps3mapi-lib.git --depth 1
- name: Set env vars
id: slug
run: |
ver="gh.$(git rev-list HEAD --count)"
echo "commit_ver=$ver" >> $GITHUB_ENV
echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
echo "pkg_file=ArtemisPS3-GUI/ArtemisPS3-GUI.pkg" >> $GITHUB_ENV
# using pre-compiled sdk
- name: Download PSL1GHT Toolchain
run: |
curl -sL https://github.com/bucanero/ps3toolchain/releases/download/ubuntu-latest-fad3b5fb/ps3dev-ubuntu-latest-2020-08-31.tar.gz | tar xvz -C ./
pwd
echo "PS3DEV=${GITHUB_WORKSPACE}/ps3dev" >> $GITHUB_ENV
echo "PSL1GHT=${GITHUB_WORKSPACE}/ps3dev" >> $GITHUB_ENV
Expand All @@ -52,7 +51,7 @@ jobs:
- name: Push package artifact
uses: actions/upload-artifact@v3
with:
name: artemis-ps3-build_${{ env.commit_ver }}
name: artemis-ps3-build_${{ steps.slug.outputs.sha8 }}
path: ${{ env.pkg_file }}
if-no-files-found: error
# don't keep artifacts for too long
Expand Down

0 comments on commit b6b43c1

Please sign in to comment.