File tree Expand file tree Collapse file tree 4 files changed +47
-3
lines changed Expand file tree Collapse file tree 4 files changed +47
-3
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : main
3
+
4
+ on :
5
+ push :
6
+ branches :
7
+ - ' **'
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-20.04
12
+ timeout-minutes : 30
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v2
16
+ - uses : ruby/setup-ruby@v1
17
+ with :
18
+ bundler-cache : true
19
+ - name : Build
20
+ run : bundle exec rake
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : release
3
+
4
+ on :
5
+ push :
6
+ tags :
7
+ - v*
8
+
9
+ jobs :
10
+ github :
11
+ runs-on : ubuntu-20.04
12
+ timeout-minutes : 30
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v2
16
+ - uses : ruby/setup-ruby@v1
17
+ with :
18
+ bundler-cache : true
19
+ - name : Build
20
+ run : bundle exec rake
21
+ - name : Release
22
+ uses : softprops/action-gh-release@v1
23
+ with :
24
+ files : Release.txt
25
+ file : eve-overview-*.zip
Original file line number Diff line number Diff line change 3
3
_ Generate DRY modular overviews._
4
4
5
5
[ ![ Release] ( https://img.shields.io/github/release/razor-x/eve-overview.svg )] ( https://github.com/razor-x/eve-overview/releases )
6
- [ ![ Build Status ] ( https://img.shields.io/travis/ razor-x/eve-overview/master .svg )] ( https://travis-ci.org /razor-x/eve-overview )
6
+ [ ![ GitHub Actions ] ( https://github.com/ razor-x/eve-overview/workflows/main/badge .svg )] ( https://github.com /razor-x/eve-overview/actions )
7
7
8
8
__ Don't die on patch day because you missed adding that new ship-type to one of your presets!__
9
9
Original file line number Diff line number Diff line change @@ -4,9 +4,8 @@ require 'yaml'
4
4
5
5
build = 'Overview'
6
6
7
- task default : :build
7
+ task default : [ :build , :zip ]
8
8
task build : [ :reset_build_directory , :compile_overviews ]
9
- task travis : [ :build , :zip ]
10
9
11
10
task :reset_build_directory do
12
11
FileUtils . remove_entry_secure build if Dir . exist? build
You can’t perform that action at this time.
0 commit comments