Skip to content

Commit 14cd0e5

Browse files
committed
Switch to GitHub actions
1 parent 5d776c2 commit 14cd0e5

File tree

4 files changed

+47
-3
lines changed

4 files changed

+47
-3
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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

.github/workflows/publish.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
_Generate DRY modular overviews._
44

55
[![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)
77

88
__Don't die on patch day because you missed adding that new ship-type to one of your presets!__
99

Rakefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ require 'yaml'
44

55
build = 'Overview'
66

7-
task default: :build
7+
task default: [:build, :zip]
88
task build: [:reset_build_directory, :compile_overviews]
9-
task travis: [:build, :zip]
109

1110
task :reset_build_directory do
1211
FileUtils.remove_entry_secure build if Dir.exist? build

0 commit comments

Comments
 (0)