Updated workflow - maybe better to put a git pull

This commit is contained in:
Xargon Wan 2022-05-01 14:29:31 +09:00
parent 74d135671c
commit a0394d962a

View file

@ -43,7 +43,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
#needs: [Job1_-_Prepearing_enviornment] #needs: [Job1_-_Prepearing_enviornment]
steps: steps:
- uses: actions/checkout@v3
- name: cache-cooker - name: cache-cooker
id: cache-cooker id: cache-cooker
@ -52,9 +51,12 @@ jobs:
path: /home/runner/work/RetroDECK path: /home/runner/work/RetroDECK
key: ${{ runner.os }}-cooker-cache key: ${{ runner.os }}-cooker-cache
- uses: actions/checkout@v3
- name: Downloading sources - name: Downloading sources
#if: steps.cache-cooker.outputs.cache-hit != 'true' #if: steps.cache-cooker.outputs.cache-hit != 'true'
run: | run: |
git pull
git submodule init git submodule init
git submodule update git submodule update
sudo add-apt-repository ppa:alexlarsson/flatpak sudo add-apt-repository ppa:alexlarsson/flatpak