8
8
max-parallel : 4
9
9
matrix :
10
10
# python-version: ['3.8', '3.9', '3.10']
11
- python-version : ['3.8 ']
11
+ python-version : ['3.10 ']
12
12
os : [ubuntu-latest, macos-latest, windows-latest]
13
13
14
14
runs-on : ${{ matrix.os }}
41
41
python setup.py install
42
42
python conda-recipe/run_test.py
43
43
44
- # - uses: actions/upload-artifact@v2
45
- # with:
46
- # name: diffpy2-${{ matrix.os }}-${{ matrix.python-version }}
47
- # path: ${{ github.workspace }}/dist/*.whl
48
-
49
44
- name : Upload Artifacts GitHub releases
50
45
uses : ncipollo/release-action@v1
51
46
with :
@@ -58,34 +53,34 @@ jobs:
58
53
tag : 1.4.0
59
54
body : This is an alpha build of the pdffit2 library (1.4.0)
60
55
61
- - name : Checkout target repo
62
- uses : actions/checkout@v3
63
- env :
64
- REPO : easyScience/pypi
65
- REPO_PATH : pypi
66
- with :
67
- fetch-depth : 0
68
- token : ${{ secrets.ES_TOKEN }}
69
- repository : ${{ env.REPO }}
70
- path : ${{ env.REPO_PATH }}
71
- ref : " pdffit" # temporarily, switch branch from master
72
- - name : Copy index to new repo
73
- env :
74
- SOURCE : index.html
75
- TARGET : pypi/pdffit2/
76
- run : cp ${{ env.SOURCE }} ${{ env.TARGET }}
77
- - name : Push
78
- env :
79
- REPO_PATH : pypi
80
- GIT_USERNAME : action
81
-
82
- run : |
83
- cd ${{ env.REPO_PATH }}
84
- git config --local user.name "${{ env.GIT_USERNAME }}"
85
- git config --local user.email "${{ env.GIT_EMAIL }}"
86
- git add .
87
- if [[ `git status --porcelain` ]]; then
88
- git commit -m "Github Actions Automatically Built in `date +"%Y-%m-%d %H:%M"`"
89
- git push
90
- fi
91
- # fi
56
+ # - name: Checkout target repo
57
+ # uses: actions/checkout@v3
58
+ # env:
59
+ # REPO: easyScience/pypi
60
+ # REPO_PATH: pypi
61
+ # with:
62
+ # fetch-depth: 0
63
+ # token: ${{ secrets.ES_TOKEN }}
64
+ # repository: ${{ env.REPO }}
65
+ # path: ${{ env.REPO_PATH }}
66
+ # ref: "pdffit" # temporarily, switch branch from master
67
+ # - name: Copy index to new repo
68
+ # env:
69
+ # SOURCE: index.html
70
+ # TARGET: pypi/pdffit2/
71
+ # run: cp ${{ env.SOURCE }} ${{ env.TARGET }}
72
+ # - name: Push
73
+ # env:
74
+ # REPO_PATH: pypi
75
+ # GIT_USERNAME: action
76
+
77
+ # run: |
78
+ # cd ${{ env.REPO_PATH }}
79
+ # git config --local user.name "${{ env.GIT_USERNAME }}"
80
+ # git config --local user.email "${{ env.GIT_EMAIL }}"
81
+ # git add .
82
+ # if [[ `git status --porcelain` ]]; then
83
+ # git commit -m "Github Actions Automatically Built in `date +"%Y-%m-%d %H:%M"`"
84
+ # git push
85
+ # fi
86
+ # # fi
0 commit comments