Skip to content

Bump docker/login-action from 3 to 4 #174

Bump docker/login-action from 3 to 4

Bump docker/login-action from 3 to 4 #174

Workflow file for this run

name: Build
on:
push:
branches:
- master
tags-ignore:
- '*'
pull_request:
branches:
- master
workflow_dispatch:
concurrency:
# On master, we don't want any jobs cancelled so the sha is used to name the group
# On PR branches, we cancel the job if new commits are pushed
# More info: https://stackoverflow.com/a/68422069/253468
group: ${{ (github.ref == 'refs/heads/master') && format('{0}-{1}', github.workflow_ref, github.sha) || format('{0}-{1}', github.workflow_ref, github.head_ref) }}
cancel-in-progress: true
jobs:
build:
if: ${{ github.repository == 'Breus/SnapChef' }}
runs-on: ubuntu-latest
permissions:
contents: read
checks: write # for publishing test results and annotations
pull-requests: write
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Setup JDK 21
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'temurin'
cache: 'gradle'
- name: Build with Gradle
working-directory: ./app
run: ./gradlew build
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
app/build/test-results/**/*.xml