File tree Expand file tree Collapse file tree 4 files changed +9
-127
lines changed Expand file tree Collapse file tree 4 files changed +9
-127
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : Build
2
1
on :
3
2
push :
4
- branches :
5
- - development
3
+ branches-ignore :
4
+ - main
6
5
pull_request :
7
- schedule :
8
- - cron : " 0 0 * * *"
9
6
jobs :
10
7
build :
11
8
runs-on : ubuntu-latest
12
9
steps :
13
- - name : Checkout repo
14
- uses : actions/checkout@v3
10
+ - uses : actions/checkout@v4
11
+ - uses : DeterminateSystems/nix-installer-action@main
12
+ - run : nix develop --command make string-diagrams.tar.gz
15
13
16
- - name : Install Perl dependencies
17
- uses : perl-actions/install-with-cpanm@stable
18
- with :
19
- install : |
20
- File::HomeDir
21
- File::Copy::Recursive
22
-
23
- - name : Setup TeX Live
24
- uses : paolobrasolin/setup-texlive-action@main
25
- with :
26
- packages-path : ${{ github.workspace }}/.github/texlive.packages
27
- profile-path : ${{ github.workspace }}/.github/texlive.profile
28
-
29
- - name : Build
30
- run : |
31
- make string-diagrams.tar.gz
Original file line number Diff line number Diff line change 1
- name : Release
2
1
on :
3
2
push :
4
3
branches :
12
11
steps :
13
12
# ==[ Shared ]=============================================================
14
13
15
- - name : Checkout repo
16
- uses : actions/checkout@v3
14
+ - uses : actions/checkout@v4
17
15
18
16
- name : Run labeller
19
17
id : labeller
@@ -23,24 +21,12 @@ jobs:
23
21
echo Detected descriptor: ${GIT_DESCRIPTOR}
24
22
echo "VERSION=${GIT_DESCRIPTOR#v}" >> $GITHUB_OUTPUT
25
23
26
- - name : Install ctanify Perl dependencies
27
- uses : perl-actions/install-with-cpanm@stable
28
- with :
29
- install : |
30
- File::HomeDir
31
- File::Copy::Recursive
32
-
33
- - name : Setup TeX Live
34
- uses : paolobrasolin/setup-texlive-action@main
35
- with :
36
- cache-key : texlive-release
37
- packages-path : ${{ github.workspace }}/.github/texlive.packages
38
- profile-path : ${{ github.workspace }}/.github/texlive.profile
24
+ - uses : DeterminateSystems/nix-installer-action@main
39
25
40
26
- name : Build
41
27
run : |
42
- make VERSION=${{ steps.labeller.outputs.version }} interpolate
43
- make string-diagrams.tar.gz
28
+ nix develop --command make VERSION=${{ steps.labeller.outputs.version }} interpolate
29
+ nix develop --command make string-diagrams.tar.gz
44
30
cp string-diagrams.tar.gz string-diagrams-${{ steps.labeller.outputs.version }}.tar.gz
45
31
46
32
# ==[ Pre-release ]========================================================
You can’t perform that action at this time.
0 commit comments