Fixed workflow, minor comments edits in wrapper

This commit is contained in:
Xargon 2022-05-17 09:21:50 +09:00
parent f01633de15
commit 88b200e873
2 changed files with 5 additions and 4 deletions

View file

@ -29,6 +29,9 @@ jobs:
- name: Generating build ID - name: Generating build ID
run: echo "${{ steps.extract_branch.outputs.branch }}-${{ steps.date.outputs.date }}" run: echo "${{ steps.extract_branch.outputs.branch }}-${{ steps.date.outputs.date }}"
outputs:
buildID: "${{ steps.extract_branch.outputs.branch }}-${{ steps.date.outputs.date }}"
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Download global cache - name: Download global cache
@ -71,9 +74,6 @@ jobs:
name: ${{ needs.Job1_-_Building_P1.outputs.buildID }} name: ${{ needs.Job1_-_Building_P1.outputs.buildID }}
path: retrodeck-cooker.tar.gz path: retrodeck-cooker.tar.gz
outputs:
buildID: "${{ steps.extract_branch.outputs.branch }}-${{ steps.date.outputs.date }}"
Job2_-_Build_P2_and_publish: Job2_-_Build_P2_and_publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [Job1_-_Building_P1] needs: [Job1_-_Building_P1]

View file

@ -3,7 +3,6 @@
# Steam Deck SD path: /run/media/mmcblk0p1 # Steam Deck SD path: /run/media/mmcblk0p1
# Create log # Create log
#exec > ~/retrodeck/.retrodeck.log 2>&1
exec 3>&1 4>&2 exec 3>&1 4>&2
trap 'exec 2>&4 1>&3' 0 1 2 3 trap 'exec 2>&4 1>&3' 0 1 2 3
echo "$(date) : RetroDECK started" >&3 echo "$(date) : RetroDECK started" >&3
@ -68,6 +67,8 @@ then
mkdir -p ~/retrodeck/screenshots mkdir -p ~/retrodeck/screenshots
mkdir -p ~/retrodeck/bios/pico-8 mkdir -p ~/retrodeck/bios/pico-8
# TODO: write a function for these stuff below
# ES-DE # ES-DE
cp -r /app/retrodeck/tools/* /var/config/retrodeck/tools/ cp -r /app/retrodeck/tools/* /var/config/retrodeck/tools/
mkdir -p /var/config/emulationstation/.emulationstation/custom_systems/tools/ mkdir -p /var/config/emulationstation/.emulationstation/custom_systems/tools/