@@ -18,60 +18,53 @@ permissions:
18
18
contents : read
19
19
20
20
jobs :
21
- test :
22
- runs-on : macos-latest
23
- steps :
24
- - uses : actions/checkout@v2
25
- - uses : actions/setup-python@v2
26
- with :
27
- python-version : 3.7
28
- - run : |
29
- echo $PATH
30
- python --version
31
- which python
32
- - run : |
33
- echo $PATH
34
- python --version
35
- which python
36
- shell: bash {0}
37
- - run : |
38
- echo $PATH
39
- python --version
40
- which python
41
- shell: bash -l {0}
21
+ # test:
22
+ # runs-on: macos-latest
23
+ # steps:
24
+ # - uses: actions/checkout@v2
25
+ # - uses: actions/setup-python@v2
26
+ # with:
27
+ # python-version: 3.7
28
+ # - run: |
29
+ # echo $PATH
30
+ # python --version
31
+ # which python
32
+ # - run: |
33
+ # echo $PATH
34
+ # python --version
35
+ # which python
36
+ # shell: bash {0}
37
+ # - run: |
38
+ # echo $PATH
39
+ # python --version
40
+ # which python
41
+ # shell: bash -l {0}
42
42
43
43
44
- # deploy:
44
+ deploy :
45
45
46
- # runs-on: ubuntu-latest
46
+ runs-on : ubuntu-latest
47
47
48
- # steps:
49
- # - uses: actions/checkout@v3
50
- # - name: Set up Python
51
- # uses: actions/setup-python@v5
52
- # with:
53
- # python-version: "3.10"
48
+ steps :
49
+ - uses : actions/checkout@v3
50
+ - name : Set up Python
51
+ uses : actions/setup-python@v5
52
+ with :
53
+ python-version : " 3.10"
54
54
55
- # - name: Modify PATH
56
- # run: echo "/opt/hostedtoolcache/Python/3.9.18/x64/bin" >> $GITHUB_PATH
57
-
58
-
59
- # - name: Check Python version
60
- # run: |
61
- # echo "Python path: $PATH"
62
- # /opt/hostedtoolcache/Python/3.9.18/x64/python --version
63
- # python --version
55
+
64
56
57
+
65
58
66
59
67
- # - name: Install dependencies
68
- # run: |
69
- # python -m pip install --upgrade pip
70
- # pip install build
71
- # - name: Build package
72
- # run: python -m build
73
- # - name: Publish package
74
- # uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
75
- # with:
76
- # user: __token__
77
- # password: ${{ secrets.PYPI_API_TOKEN }}
60
+ - name : Install dependencies
61
+ run : |
62
+ python -m pip install --upgrade pip
63
+ pip install build
64
+ - name : Build package
65
+ run : python -m build
66
+ - name : Publish package
67
+ uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
68
+ with :
69
+ user : __token__
70
+ password : ${{ secrets.PYPI_API_TOKEN }}
0 commit comments