Skip to content

Commit 95d13c3

Browse files
committed
chore: sync ci configs
1 parent a525c2e commit 95d13c3

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/gh-publish.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@
55
name: publish-to-github-packages
66
on:
77
workflow_run:
8-
workflows: [full]
8+
workflows: [build]
99
types: [completed]
10-
branches: ["**"]
10+
branches:
11+
- "**"
12+
- "!renovate/**"
13+
- "!deps/**"
1114
tags: [v*]
1215
jobs:
1316
publish:
@@ -33,7 +36,8 @@ jobs:
3336
- uses: gradle/actions/setup-gradle@v4
3437
with:
3538
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
36-
- run: ./gradlew publishAllPublicationsToGhRepository --scan
39+
- run: ./gradlew publishAllPublicationsToGhRepository --scan --no-configuration-cache
40+
if: steps.git_num_file_changes.outputs.stdout > 0
3741
env:
3842
ORG_GRADLE_PROJECT_ghUsername: ${{ secrets.GITHUB_ACTOR }}
3943
ORG_GRADLE_PROJECT_ghPassword: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/update-java.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
id: create_pr
5959
with:
6060
title: "chore(deps): java"
61-
branch: topic/update-java
61+
branch: deps/update-java
6262
token: ${{ secrets.GH_MERGE_PAT }}
6363
- run: gh pr merge --auto --squash ${{ steps.create_pr.outputs.pull-request-number }}
6464
if: ${{ steps.create_pr.outputs.pull-request-number != '' }}

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ build:
2828
./gradlew build --console=plain
2929

3030
.PHONY: merge
31-
merge: merge-head create-pr build watch-full watch-publish merge-squash
31+
merge: merge-head create-pr build watch-full merge-squash
3232

3333
.PHONY: clean
3434
clean:
@@ -82,6 +82,3 @@ watch:
8282

8383
watch-full:
8484
@gh run watch $$($(call gh_head_run_id, "full")) --exit-status
85-
86-
watch-publish:
87-
@gh run watch $$($(call gh_head_run_id, "publish")) --exit-status

0 commit comments

Comments
 (0)