File tree Expand file tree Collapse file tree 6 files changed +18
-17
lines changed Expand file tree Collapse file tree 6 files changed +18
-17
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,14 @@ jobs:
15
15
strategy :
16
16
matrix :
17
17
include :
18
- - platform : linux-64
19
- os : ubuntu-latest
18
+ - os : ubuntu-latest
19
+ platform : linux-64
20
20
21
- - platform : osx-64
22
- os : macos-latest
21
+ - os : macos-latest
22
+ platform : osx-64
23
+
24
+ - os : macos-latest
25
+ platform : osx-arm64
23
26
24
27
steps :
25
28
- uses : actions/checkout@v3
50
53
conda mambabuild . --no-anaconda-upload --variants "{platform: ${{ matrix.platform }}}" --output-folder $outdir
51
54
echo "::endgroup::"
52
55
echo "::group::Uploading packages to mdtools conda channel"
53
- export ANACONDA_API_TOKEN=${{ secrets.ANACONDA_TOKEN }}
54
- PACKAGES=$(find $outdir -name openmm-cpp-forces-*.tar.bz2)
55
- anaconda upload --user mdtools --force --label main $PACKAGES
56
+ if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
57
+ echo "Deployment is deactivated in pull requests"
58
+ else
59
+ export ANACONDA_API_TOKEN=${{ secrets.ANACONDA_TOKEN }}
60
+ PACKAGES=$(find $outdir -name openmm-cpp-forces-*.tar.bz2)
61
+ anaconda upload --user mdtools --force --label main $PACKAGES
62
+ fi
56
63
echo "::endgroup::"
Original file line number Diff line number Diff line change 16
16
fail-fast : false
17
17
matrix :
18
18
include :
19
- - os : ubuntu-20.04
19
+ - os : ubuntu-latest
20
20
python-version : " 3.11"
21
21
openmm-version : " 8.1"
22
22
gcc-version : " 13"
Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ jobs:
20
20
matrix :
21
21
include :
22
22
# Oldest supported versions
23
- - os : ubuntu-20.04
23
+ - os : ubuntu-latest
24
24
python-version : " 3.9"
25
25
openmm-version : " 8.1"
26
26
gcc-version : " 9"
27
27
28
28
# Latest supported versions
29
- - os : ubuntu-20.04
29
+ - os : ubuntu-latest
30
30
python-version : " 3.11"
31
31
openmm-version : " 8.1"
32
32
gcc-version : " 13"
Original file line number Diff line number Diff line change @@ -19,16 +19,10 @@ jobs:
19
19
fail-fast : false
20
20
matrix :
21
21
include :
22
- # Oldest supported versions
23
- - os : macos-11
22
+ - os : macos-latest
24
23
python-version : " 3.9"
25
24
openmm-version : " 8.1"
26
25
27
- # Latest supported versions
28
- - os : macos-11
29
- python-version : " 3.11"
30
- openmm-version : " 8.1"
31
-
32
26
steps :
33
27
- name : " Check out"
34
28
uses : actions/checkout@v3
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments