File tree Expand file tree Collapse file tree 1 file changed +4
-34
lines changed Expand file tree Collapse file tree 1 file changed +4
-34
lines changed Original file line number Diff line number Diff line change 55 types : [published]
66
77jobs :
8- build :
8+ publish :
99 runs-on : ubuntu-latest
10-
10+ environment :
11+ name : pypi
12+ url : https://pypi.org/project/salesforce-data-customcode/
1113 steps :
1214 - name : Checkout code
1315 uses : actions/checkout@v4
2830 - name : Build package
2931 run : make package
3032
31- - name : Store package
32- uses : actions/upload-artifact@v4
33- with :
34- name : dist
35- path : dist/
36-
37- publish :
38- needs : build
39- runs-on : ubuntu-latest
40- environment :
41- name : pypi
42- url : https://pypi.org/project/salesforce-data-customcode/
43- steps :
44- - name : Checkout code
45- uses : actions/checkout@v4
46-
47- - name : Set up Python
48- uses : actions/setup-python@v5
49- with :
50- python-version : ' 3.11'
51-
52- - name : Install Poetry
53- run : |
54- python -m pip install --upgrade pip
55- pip install poetry
56-
57- - name : Download package
58- uses : actions/download-artifact@v4
59- with :
60- name : dist
61- path : dist/
62-
6333 - name : Publish to PyPI
6434 env :
6535 PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments