Skip to content

Commit d0c5f74

Browse files
author
CssTechnology
authored
Update main.yml
1 parent 24d3c23 commit d0c5f74

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/main.yml

+17-17
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ jobs:
1515
uses: actions/checkout@v3
1616

1717
- name: Setup JFrog CLI
18-
uses: jfrog/setup-jfrog-cli@v4
19-
env:
20-
JF_URL: ${{ vars.JF_URL }}
21-
JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }}
22-
23-
- name: Set CLI Config
24-
run: jf pip-config --global=true --repo-resolve=dempappsdk-pypi
25-
26-
- name: Install Deps
27-
run: jf pip install .
18+
uses: jfrog/setup-jfrog-cli@v4
19+
env:
20+
JF_URL: ${{ vars.JF_URL }}
21+
JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }}
22+
23+
- name: Set CLI Config
24+
run: jf pip-config --global=true --repo-resolve=dempappsdk-pypi
25+
26+
- name: Install Dependencies via JFrog CLI
27+
run: jf pip install .
2828

2929
- name: Set up Python ${{ matrix.python-version }}
3030
uses: actions/setup-python@v4
3131
with:
3232
python-version: ${{ matrix.python-version }}
3333

34-
- name: Install Dependencies
34+
- name: Install Python Dependencies
3535
run: |
3636
python -m pip install --upgrade pip
3737
pip install build twine
@@ -42,14 +42,14 @@ jobs:
4242
python -m build --wheel
4343
ls -l dist/
4444
45-
- name: Publish
46-
run: jf rt upload dist/ dempappsdk-pypi/
47-
48-
- name: Publish Build info With JFrog CLI
49-
run: |
45+
- name: Publish Wheels to Artifactory
46+
run: jf rt upload dist/ dempappsdk-pypi/
47+
48+
- name: Publish Build Info With JFrog CLI
49+
run: |
5050
# Collect environment variables for the build
5151
jf rt build-collect-env
5252
# Collect VCS details from git and add them to the build
5353
jf rt build-add-git
5454
# Publish build info
55-
jf rt build-publish)
55+
jf rt build-publish

0 commit comments

Comments
 (0)