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 5
5
types : [published]
6
6
7
7
jobs :
8
- build :
8
+ publish :
9
9
runs-on : ubuntu-latest
10
-
10
+ environment :
11
+ name : pypi
12
+ url : https://pypi.org/project/salesforce-data-customcode/
11
13
steps :
12
14
- name : Checkout code
13
15
uses : actions/checkout@v4
28
30
- name : Build package
29
31
run : make package
30
32
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
-
63
33
- name : Publish to PyPI
64
34
env :
65
35
PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments