Skip to content

Commit 777536a

Browse files
committed
Travis -> GitHub actions
1 parent 5ec2431 commit 777536a

3 files changed

Lines changed: 19 additions & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Build
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Download Turbo Bob
11+
run: curl --fail --location --output bob https://dl.bintray.com/function61/dl/turbobob/20200220_1142_9c1ea959/bob_linux-amd64 && chmod +x bob
12+
- name: Build with Turbo Bob
13+
run: CI_REVISION_ID="$GITHUB_SHA" ./bob build --publish-artefacts
14+
# unfortunately there doesn't seem to be a way to "expose all secrets", so you must
15+
# list here each secret to pass on to the build
16+
env:
17+
BINTRAY_CREDS: ${{ secrets.BINTRAY_CREDS }}
18+
DOCKER_CREDS: ${{ secrets.DOCKER_CREDS }}

.travis.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://img.shields.io/travis/function61/ubackup.svg?style=for-the-badge)](https://travis-ci.org/function61/ubackup)
1+
![Build status](https://github.com/function61/ubackup/workflows/Build/badge.svg)
22
[![Download](https://img.shields.io/bintray/v/function61/dl/ubackup.svg?style=for-the-badge&label=Download)](https://bintray.com/function61/dl/ubackup/_latestVersion#files)
33
[![Download](https://img.shields.io/docker/pulls/fn61/ubackup.svg?style=for-the-badge)](https://hub.docker.com/r/fn61/ubackup/)
44

0 commit comments

Comments
 (0)