Skip to content

Commit

Permalink
Update workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwjfrog authored Nov 22, 2023
1 parent 0056466 commit 65ee823
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ jobs:
run: |
zip -r -q folder.zip folder1
ls -ltr
- name: Create tar
run: |
tar -czvf folder.tar.gz folder2
ls -ltr
- uses: jfrog/setup-jfrog-cli@v3
env:
# JFrog platform url (for example: https://acme.jfrog.io)
Expand All @@ -28,7 +32,10 @@ jobs:
run: jf rt ping

- name: Upload to Artifactory
run: jf rt u sample-core-service-api-1.0.2511.zip brianw-generic-local/ --detailed-summary --fail-no-op
run: |
jf rt upload "*.zip" brianw-generic-local/ --detailed-summary --fail-no-op
jf rt upload "*.tar.gz" brianw-generic-local/ --detailed-summary --fail-no-op
- name: Publish build info
run: |
# Collect VCS details from git and add them to the build
Expand Down

0 comments on commit 65ee823

Please sign in to comment.