diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-09-10 18:29:12 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-09-10 18:29:12 +0200 |
commit | 848b1fb1f30489326a2ec4e8c23062cc726646be (patch) | |
tree | 33bb8d61fe82ccdb53f29edd36bf412cff821cbc /.github/workflows | |
parent | Add instructions for running a local server (diff) | |
download | seven-wonders-848b1fb1f30489326a2ec4e8c23062cc726646be.tar.gz seven-wonders-848b1fb1f30489326a2ec4e8c23062cc726646be.tar.bz2 seven-wonders-848b1fb1f30489326a2ec4e8c23062cc726646be.zip |
Format github CI's yaml file
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 25dbadf2..b1adadaa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,38 +10,38 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up JDK 13 - uses: actions/setup-java@v1.3.0 - with: - java-version: 13 + - uses: actions/checkout@v2 + - name: Set up JDK 13 + uses: actions/setup-java@v1.3.0 + with: + java-version: 13 - - name: Gradle build cache - uses: actions/cache@v1 - with: - path: ~/.gradle/caches - key: ${{ runner.os }}-gradle-build-${{ hashFiles('**/*.gradle*') }} - restore-keys: ${{ runner.os }}-gradle-build- + - name: Gradle build cache + uses: actions/cache@v1 + with: + path: ~/.gradle/caches + key: ${{ runner.os }}-gradle-build-${{ hashFiles('**/*.gradle*') }} + restore-keys: ${{ runner.os }}-gradle-build- - - name: Gradle wrapper cache - uses: actions/cache@v1 - with: - path: ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle-wrapper.properties') }} + - name: Gradle wrapper cache + uses: actions/cache@v1 + with: + path: ~/.gradle/wrapper + key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle-wrapper.properties') }} - - name: Build with Gradle - run: ./gradlew build + - name: Build with Gradle + run: ./gradlew build - - name: Docker push to GitHub Container Registry - uses: docker/build-push-action@v1 - with: - path: ./sw-server - username: ${{ github.actor }} - password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }} - registry: ghcr.io - repository: joffrey-bion/seven-wonders-server - tag_with_ref: true - tag_with_sha: true + - name: Docker push to GitHub Container Registry + uses: docker/build-push-action@v1 + with: + path: ./sw-server + username: ${{ github.actor }} + password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }} + registry: ghcr.io + repository: joffrey-bion/seven-wonders-server + tag_with_ref: true + tag_with_sha: true # - name: Docker push to GitHub Packages # uses: docker/build-push-action@v1 |