Skip to content

upd branch

upd branch #103

Workflow file for this run

name: Build branches
on:
push:
branches: [ main, dev ]
paths-ignore:
- 'README.md'
- 'LICENSE'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
extract_branch_name:
runs-on: ubuntu-latest
outputs:
branch_name: ${{ steps.extract_branch.outputs.branch_name }}
steps:
- name: Extract Branch Name
id: extract_branch
run: echo "branch_name=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
jar:
uses: ./.github/workflows/workflow-jar.yml
secrets: inherit
with:
jar-name: tp2intervals
jar-artifact-name: tp2intervals-jar
docker-image:
needs:
- jar
- extract_branch_name
uses: ./.github/workflows/workflow-docker-image.yml
with:
jar-name: tp2intervals
jar-artifact-name: tp2intervals-jar
image-name: tp2intervals
image-tag: ${{ needs.extract_branch_name.outputs.branch_name }}
dry-run: false
electron:
needs:
- jar
strategy:
matrix:
environment:
- os: ubuntu-latest
- os: macos-latest
- os: windows-latest
uses: ./.github/workflows/workflow-electron.yml
with:
jar-name: tp2intervals
jar-artifact-name: tp2intervals-jar
os: ${{ matrix.environment.os }}