Skip to content

Commit

Permalink
ci: Publish to artifactory
Browse files Browse the repository at this point in the history
  • Loading branch information
mkundu1 committed Nov 22, 2024
1 parent 650dcfd commit 0428ea3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -569,3 +569,28 @@ jobs:
./**/*.whl
./**/*.tar.gz
./**/*-wheelhouse-*.zip
artifactory-upload:
name: "Publish to artifactory"
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
# needs: test
runs-on: ansys-internal-arc-k8s-runner-scale-set
container:
image: azuekubeacr03.azurecr.io/itdevops-ubuntu22:baseos
env:
ARTIFACTORY_PATH: ""
ARTIFACTORY_URL: "https://artifactory.ansys.com"
steps:
#- name: Download artifact
# uses: actions/download-artifact@v4
- name: Setup Jfrog
uses: jfrog/[email protected]
env:
JF_URL: ${{ env.ARTIFACTORY_URL }}
#JF_USER: ${{ secrets.ARTIFACTORY_USER }}
#JF_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
JF_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
- name: JFrog Ping
run: jf rt ping
#- name: Post artifact
# run: jf rt upload web.zip ${{ env.ARTIFACTORY_PATH }}

0 comments on commit 0428ea3

Please sign in to comment.