Skip to content

Commit

Permalink
Update github-actions-demo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yellow-shine authored Nov 14, 2024
1 parent 27a02f3 commit 87e1928
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: download package from conan center and upload it and dpendency to jfrog artifactory
name: sync
description: download package from conan center and upload it and dpendency to jfrog artifactory
on:
workflow_dispatch:
inputs:
Expand All @@ -12,7 +13,7 @@ on:
default: 'false'

jobs:
sync-to-artifactory:
sync:
runs-on: ubuntu-latest
env:
CONAN_REVISIONS_ENABLED: 1
Expand All @@ -31,12 +32,13 @@ jobs:
- name: Configure Conan remote
run: |
conan remote add default-conan-local https://milvus01.jfrog.io/artifactory/api/conan/default-conan-local
- name: Install package
run: |
conan remote list
conan install ${{ github.event.inputs.package }} -s compiler=gcc -s compiler.version=11 -s compiler.libcxx=libstdc++11 -s build_type=Release
conan install ${{ github.event.inputs.package }}@ -s compiler=gcc -s compiler.version=11 -s compiler.libcxx=libstdc++11 -s build_type=Release
- name: inspect installed package
run: |
Expand Down

0 comments on commit 87e1928

Please sign in to comment.