Skip to content

Add secrets

Add secrets #2370

Workflow file for this run

name: Windows Test
on:
push:
jobs:
Windows:
strategy:
fail-fast: false
runs-on: windows-latest
env:
OS_NAME: windows
PLATFORM_TARGET: native_mixed
SSH_KEY: ${{ runner.temp }}/id_rsa

Check failure on line 14 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Windows Test

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 14, Col: 16): Unrecognized named-value: 'runner'. Located at position 1 within expression: runner.temp
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup python 3.8
uses: actions/setup-python@v3
with:
python-version: '3.8'
- name: Install packages
run: |
choco.exe install pkgconfiglite ninja
- name: Install python modules
shell: bash
run: |
pip3 install meson pytest requests distro paramiko
pip3 install --no-deps $GITHUB_WORKSPACE
- name: Setup MSVC compiler
uses: bus1/cabuild/action/msdevshell@v1
with:
arch: x64
- name: secret
shell: bash
run: |
echo "${{secrets.ssh_key}}" > $SSH_KEY
- name: Ensure base deps
run: |
python .github\\scripts\\ensure_base_deps.py
- name: print log
shell: bash
if: failure()
run: |
cd $HOME/BUILD_native_dyn/xapian-core-1.4.23
cat config.h
cat meson-logs/meson-log.txt
- name: Compile all deps
run: |
python .github\\scripts\\compile_all_deps.py
- name: Upload failure logs
shell: bash
if: failure()
run: $GITHUB_WORKSPACE/.github/scripts/upload_failure_logs.sh