Skip to content

customize dbus-cxx recipe for NI #1

customize dbus-cxx recipe for NI

customize dbus-cxx recipe for NI #1

name: ni_upload_to_jfrog
on:
push:
branches:
- master
paths:
- 'recipes/dbus-cxx/**'
env:
REPO_CI: "https://push.artifacts.ni.com/artifactory/api/conan/rnd-conan-ci"
REPO_PRE: "https://push.artifacts.ni.com/artifactory/api/conan/rnd-conan-pre"
REPO_PROTO: "https://push.artifacts.ni.com/artifactory/api/conan/rnd-conan-proto"
jobs:
upload_to_jfrog:
name: Upload to JFrog
runs-on: ubuntu-latest
environment: jfrog-ci
steps:
- uses: actions/checkout@v4
with:
ref: master
- uses: actions/setup-python@v5
python-version: 3.10

Check failure on line 24 in .github/workflows/ni_upload_to_jfrog.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ni_upload_to_jfrog.yml

Invalid workflow file

You have an error in your yaml syntax on line 24
- run:
pip install conan==2.3
conan remote add rnd-conan-ci ${ REPO_CI }
conan remote login rnd-conan-ci ${{ vars.JFROG_USERNAME }} --password ${{ secrets.JFROG_ACCESS_TOKEN }}
conan create recipes/dbus-cxx/2.x.x --version 2.4.0 --build=missing
conan upload --remote rnd-conan-ci --only-recipe dbus-cxx/2.4.0