diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d3cace..7840307 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,12 +32,24 @@ jobs: uses: bus1/cabuild/action/msdevshell@v1 with: architecture: x64 + - name: secret + shell: bash + run: | + echo "${{secrets.ssh_key}}" > $SSH_KEY + env: + SSH_KEY: ${{ runner.temp }}/id_rsa - name: Ensure base deps run: python .github\\scripts\\ensure_base_deps.py - - name: Compile all deps + env: + SSH_KEY: ${{ runner.temp }}/id_rsa + - name: Compile all deps run: python .github\\scripts\\compile_all_deps.py + env: + SSH_KEY: ${{ runner.temp }}/id_rsa - name: Build projects run: python .github\\scripts\\build_projects.py + env: + SSH_KEY: ${{ runner.temp }}/id_rsa - name: Upload failure logs shell: bash if: failure() @@ -112,7 +124,7 @@ jobs: kiwix-build/.github/scripts/ensure_base_deps.py env: COMPILE_CONFIG: ${{matrix.config}} - - name: Compile all deps + - name: Compile all deps shell: bash run: | cd $HOME