WORKFLOW: fixing paths

This commit is contained in:
XargonWan 2024-08-02 12:46:32 +09:00
parent e8f7bfcfee
commit 592fd52f7e

View file

@ -4,6 +4,7 @@ on:
push: push:
branches: branches:
- retrodeck-main - retrodeck-main
- main
- feat/* - feat/*
workflow_dispatch: workflow_dispatch:
@ -84,7 +85,7 @@ jobs:
repository: RetroDECK/Cooker repository: RetroDECK/Cooker
submodules: 'true' submodules: 'true'
token: ${{ secrets.TRIGGER_BUILD_TOKEN }} token: ${{ secrets.TRIGGER_BUILD_TOKEN }}
path: cooker path: "${GITHUB_WORKSPACE}/cooker"
fetch-depth: 1 fetch-depth: 1
- name: "Update RetroDECK Cooker manifest with new artifact URL and SHA256" - name: "Update RetroDECK Cooker manifest with new artifact URL and SHA256"
@ -99,7 +100,7 @@ jobs:
- name: Commit and push changes to Cooker repo - name: Commit and push changes to Cooker repo
if: contains(env.BRANCH_NAME, 'feat/') == false if: contains(env.BRANCH_NAME, 'feat/') == false
run: | run: |
cd cooker cd "${GITHUB_WORKSPACE}/cooker"
git checkout feat/lighter-manifest # TODO: remove me later git checkout feat/lighter-manifest # TODO: remove me later
git config user.name "GitHub Actions" git config user.name "GitHub Actions"
git config user.email "actions@github.com" git config user.email "actions@github.com"