conditional job

This commit is contained in:
Kiran Hart 2021-02-26 18:15:21 -05:00
parent 1929567206
commit c458a1c19a
2 changed files with 15 additions and 2 deletions

View File

@ -9,7 +9,20 @@ jobs:
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 Maven
run: mvn package
transfer:
needs: build
runs-on: ubuntu-latest
steps:
- name: Transfer main branch to Tweetzy
uses: andstor/copycat-action@v3
with:
@ -21,4 +34,4 @@ jobs:
src_branch: main
dst_branch: main
commit_message: ${{ github.event.head_commit.message }}
exclude: .github/*
exclude: .github/*

View File

@ -60,7 +60,7 @@
<minimizeJar>true</minimizeJar>
<artifactSet>
<includes>
<include>ca.tweetzy:TweetyCore</include>
<include>ca.tweetzy:tweetycore</include>
<include>com.zaxxer:HikariCP</include>
<include>org.slf4j:slf4j-api</include>
<include>org.slf4j:slf4j-nop</include>