-
Notifications
You must be signed in to change notification settings - Fork 3
56 lines (52 loc) · 1.35 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Release
on: push
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['1.24']
steps:
- uses: actions/checkout@v4
- name: Build
run: ./build.sh
- name: Upload
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: otconda-${{ matrix.version }}-Linux-x86_64.sh
macos:
runs-on: macos-latest
strategy:
matrix:
version: ['1.24']
steps:
- uses: actions/checkout@v4
- name: Build
run: ./build.sh
- name: Upload
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: otconda-${{ matrix.version }}-MacOSX-x86_64.sh
windows:
runs-on: windows-latest
strategy:
matrix:
version: ['1.24']
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: latest
conda-remove-defaults: "true"
- name: Build
run: |
conda install -y constructor
constructor -v otconda
get-childitem
- name: Upload
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: otconda-${{ matrix.version }}-Windows-x86_64.exe