Skip to content

Commit

Permalink
Merge pull request #2 from cqse/gradle-version
Browse files Browse the repository at this point in the history
Switch to GitHub Actions
  • Loading branch information
agoeb authored Dec 17, 2021
2 parents 15f92df + aa0d7c1 commit 1d75bd3
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 17 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build

on:
push:
branches: '**'
tags: 'v*'
pull_request:
branches: '**'

jobs:
build:
name: Build & Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Gradle
run: |
./gradlew -b gradle/bootstrap.gradle bootstrap
- name: Package Release Assets
if: startsWith(github.ref, 'refs/tags/v')
run: |
git describe --tags > VERSION.txt
rm -rf .gradle gradle/.gradle .git*
zip -r sap-dtr-git-bridge.zip .
- name: Upload Release Assets
if: startsWith(github.ref, 'refs/tags/v')
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: sap-dtr-git-bridge.zip
overwrite: true
16 changes: 0 additions & 16 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,4 +1,4 @@
# SAP DTR Git Bridge [![Build Status](https://travis-ci.org/cqse/sap-dtr-git-bridge.svg?branch=master)](https://travis-ci.org/cqse/sap-dtr-git-bridge)
# SAP DTR Git Bridge

Gradle scripts for mirroring SAP Design Time Repository (DTR) code changes into a Git repository.

Expand Down

0 comments on commit 1d75bd3

Please sign in to comment.