Skip to content

Commit cb1c12b

Browse files
authored
Merge pull request #19 from atholbro/actions/fix-tag-1
Various fixes for github actions
2 parents a10d430 + 033880e commit cb1c12b

4 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish
1+
name: Build
22

33
on:
44
push:
@@ -15,6 +15,11 @@ jobs:
1515
- uses: actions/checkout@v4
1616

1717
- name: Gradle build
18+
env:
19+
GPG_KEY: ${{ secrets.GPG_KEY }}
20+
GPG_PASS: ${{ secrets.GPG_PASS }}
21+
PUBLISH_USER: ${{ secrets.PUBLISH_USER }}
22+
PUBLISH_PASS: ${{ secrets.PUBLISH_PASS }}
1823
run: |
1924
VERSION=${{ github.ref_name }}
2025
VERSION=${VERSION#v}

.github/workflows/build_and_test.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Build & Test
22

33
on:
4-
push:
5-
branches:
6-
- master
74
pull_request:
85
branches:
96
- master

.github/workflows/codeql.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: "CodeQL Advanced"
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
tags:
6+
- 'v*'
67
pull_request:
78
branches: [ "master" ]
89
schedule:

.github/workflows/tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
default_bump: patch
1818
tag_prefix: v
1919
custom_release_rules: |
20-
"patch:patch,minor:minor,major:major"
20+
"fix:patch:Bug Fixes,patch:patch:Changes,feature:minor:Features,change:minor:Changes,minor:minor:Changes,breaking:major:Breaking Changes,major:major:Major Changes"
2121
- name: Create a GitHub release
2222
uses: ncipollo/release-action@v1
2323
with:

0 commit comments

Comments
 (0)