Skip to content

Commit

Permalink
add action to upload to JFrog
Browse files Browse the repository at this point in the history
patches to recipes should add to the list of uploads
  • Loading branch information
ErikHons committed May 28, 2024
1 parent c2db562 commit e1f8b0b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ni_upload_to_jfrog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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
with:
python-version: '3.10'
- 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 }}

0 comments on commit e1f8b0b

Please sign in to comment.