Skip to content
This repository was archived by the owner on Dec 30, 2024. It is now read-only.

Commit 38884a1

Browse files
authored
Move CI to GitHub Actions (#7)
1 parent 0ec6328 commit 38884a1

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

.github/workflows/java.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Java CI
2+
3+
on:
4+
- pull_request
5+
- push
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: set up JDK 1.8
13+
uses: actions/setup-java@v1
14+
with:
15+
java-version: 1.8
16+
- name: Build with Gradle
17+
run: ./gradlew clean build

.travis.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ on [firebase.google.com](https://firebase.google.com/docs/).
88
We love contributions! See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
99

1010
## Build Status
11-
[![Build Status](https://travis-ci.org/firebase/snippets-java.svg?branch=master)](https://travis-ci.org/firebase/snippets-java)
11+
[![Actions Status][gh-actions-badge]][gh-actions]
12+
13+
[gh-actions]: https://github.com/firebase/snippets-java/actions
14+
[gh-actions-badge]: https://github.com/firebase/snippets-java/workflows/Java%20CI/badge.svg

0 commit comments

Comments
 (0)