Skip to content

Commit

Permalink
ALS-4288: Add github actions, remove circleci (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramari16 authored Mar 30, 2023
1 parent 7a70f12 commit f352551
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 48 deletions.
12 changes: 0 additions & 12 deletions .circleci/config.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .circleci/maven-settings.xml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/github-actions-deploy-snapshots.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Maven Deploy Snapshots

on:
push:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Build with Maven
run: mvn --update-snapshots deploy
env:
GITHUB_TOKEN: ${{ github.token }}
19 changes: 19 additions & 0 deletions .github/workflows/github-actions-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Maven Run Tests

on: [ push ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Test with Maven
run: mvn test
env:
GITHUB_TOKEN: ${{ github.token }}
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
<!--module>pic-sure-api-wildfly</module-->
<module>pic-sure-util</module>
</modules>
<repositories>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/hms-dbmi/pic-sure</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<properties>
<jackson.version>2.10.5</jackson.version>
</properties>
Expand Down

0 comments on commit f352551

Please sign in to comment.