File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
paths-ignore :
6
6
- " **.md"
7
+ branches :
8
+ - ' main'
9
+ # this is needed when pushing tags manually, apparantly.
10
+ # https://github.com/actions/runner/issues/1007
11
+ create :
7
12
pull_request :
8
13
paths-ignore :
9
14
- " **.md"
15
+ branches-ignore :
16
+ - ' dependabot/*'
10
17
jobs :
11
18
CI :
12
19
runs-on : ubuntu-latest
29
36
with :
30
37
install_url : https://releases.nixos.org/nix/nix-2.18.4/install
31
38
- name : " Set Up Binary Cache"
32
- if : github.event_name != 'pull_request'
33
39
uses : cachix/cachix-action@v15
34
40
with :
35
41
name : t2linux
49
55
rm result
50
56
done
51
57
- name : Release
52
- uses : softprops/action-gh-release@v1
53
- if : startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '.')
58
+ uses : softprops/action-gh-release@v2
59
+ if : startsWith(github.ref, 'refs/tags/v')
54
60
with :
55
61
files : " nixos-*.iso*"
You can’t perform that action at this time.
0 commit comments