mirror of
https://github.com/kiranhart/Auction-House.git
synced 2024-11-25 05:55:13 +01:00
conditional job
This commit is contained in:
parent
1929567206
commit
c458a1c19a
15
.github/workflows/maven.yml
vendored
15
.github/workflows/maven.yml
vendored
@ -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/*
|
Loading…
Reference in New Issue
Block a user