From 3d6187a192ca99ce40306269cabfe9c29f0cc632 Mon Sep 17 00:00:00 2001 From: Telan <13066272+TheElan@users.noreply.github.com> Date: Sun, 21 Nov 2021 21:23:52 +0200 Subject: [PATCH] ci: also run build and test on main branches; adjust naming --- .github/workflows/build-and-test.yml | 2 ++ .github/workflows/release-tags.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 2eafd62..6c9b3cb 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -6,6 +6,8 @@ name: Build and test on: pull_request: branches: [ master, main ] + push: + branches: [ master, main ] jobs: build-and-test: diff --git a/.github/workflows/release-tags.yml b/.github/workflows/release-tags.yml index 3bc35d2..25c354b 100644 --- a/.github/workflows/release-tags.yml +++ b/.github/workflows/release-tags.yml @@ -1,7 +1,7 @@ # This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle -name: Release artifacts +name: Release tagged build on: push: