Add secrets
This commit is contained in:
parent
0265d8fdc4
commit
0f61f9a123
|
@ -32,12 +32,24 @@ jobs:
|
||||||
uses: bus1/cabuild/action/msdevshell@v1
|
uses: bus1/cabuild/action/msdevshell@v1
|
||||||
with:
|
with:
|
||||||
architecture: x64
|
architecture: x64
|
||||||
|
- name: secret
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "${{secrets.ssh_key}}" > $SSH_KEY
|
||||||
|
env:
|
||||||
|
SSH_KEY: ${{ runner.temp }}/id_rsa
|
||||||
- name: Ensure base deps
|
- name: Ensure base deps
|
||||||
run: python .github\\scripts\\ensure_base_deps.py
|
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
|
run: python .github\\scripts\\compile_all_deps.py
|
||||||
|
env:
|
||||||
|
SSH_KEY: ${{ runner.temp }}/id_rsa
|
||||||
- name: Build projects
|
- name: Build projects
|
||||||
run: python .github\\scripts\\build_projects.py
|
run: python .github\\scripts\\build_projects.py
|
||||||
|
env:
|
||||||
|
SSH_KEY: ${{ runner.temp }}/id_rsa
|
||||||
- name: Upload failure logs
|
- name: Upload failure logs
|
||||||
shell: bash
|
shell: bash
|
||||||
if: failure()
|
if: failure()
|
||||||
|
@ -112,7 +124,7 @@ jobs:
|
||||||
kiwix-build/.github/scripts/ensure_base_deps.py
|
kiwix-build/.github/scripts/ensure_base_deps.py
|
||||||
env:
|
env:
|
||||||
COMPILE_CONFIG: ${{matrix.config}}
|
COMPILE_CONFIG: ${{matrix.config}}
|
||||||
- name: Compile all deps
|
- name: Compile all deps
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd $HOME
|
cd $HOME
|
||||||
|
|
Loading…
Reference in New Issue