Skip to content

Commit

Permalink
Merge pull request #30 from creasty/creasty/github-action
Browse files Browse the repository at this point in the history
Setup github action
  • Loading branch information
creasty authored Sep 12, 2021
2 parents 75dfa78 + e8afaef commit ef6863f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 39 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: build-and-publish

on: [push]

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Show Xcode version
run: xcodebuild -version
- name: Build
run: make build
- name: Create distribution file
run: make dist
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
prerelease: ${{ endsWith(github.ref, '-pre') }}
files: build/*.zip
38 changes: 0 additions & 38 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Keyboard
========

[![Build Status](https://travis-ci.com/creasty/Keyboard.svg?branch=master)](https://travis-ci.com/creasty/Keyboard)
[![Build Status](https://github.com/creasty/Keyboard/actions/workflows/build/badge.svg)](https://github.com/creasty/Keyboard/actions/workflows/build.yml)
[![GitHub release](https://img.shields.io/github/release/creasty/Keyboard.svg)](https://github.com/creasty/Keyboard/releases)
[![License](https://img.shields.io/github/license/creasty/Keyboard.svg)](./LICENSE)

Expand Down

0 comments on commit ef6863f

Please sign in to comment.