Skip to content

Commit 984b8c4

Browse files
committed
Merge branch 'release/v1.1.0'
2 parents 4ec3a21 + 702e7aa commit 984b8c4

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Release from Tag
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: ncipollo/release-action@v1
17+
with:
18+
token: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Composite GitHub Action that verifies a Maven Build and analyzes the results in
55

66
Usage example:
77

8-
```
8+
```yaml
99
# Build validation
1010

1111
name: Build

action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@ runs:
4545

4646
steps:
4747
- name: Checkout code
48-
uses: actions/checkout@v2
48+
uses: actions/checkout@v3
4949
with:
5050
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
5151

5252
- name: Setup JDK
53-
uses: actions/setup-java@v2
53+
uses: actions/setup-java@v3
5454
with:
5555
distribution: ${{ inputs.java-distribution }}
5656
java-version: ${{ inputs.java-version }}
5757
cache: maven
5858

5959
- name: Cache SonarCloud packages
60-
uses: actions/cache@v1
60+
uses: actions/cache@v3
6161
with:
6262
path: ~/.sonar/cache
6363
key: ${{ runner.os }}-sonar
@@ -67,7 +67,7 @@ runs:
6767
env:
6868
GITHUB_TOKEN: ${{ inputs.github-token }} # Needed to get PR information, if any
6969
SONAR_TOKEN: ${{ inputs.sonar-token }}
70-
run: ${{ inputs.maven-executable }} ${{ inputs.maven-verify-args }} ${{ inputs.maven-additional-args }} ${{ inputs.maven-sonar-args }}
70+
run: ${{ inputs.maven-executable }} ${{ inputs.maven-verify-args }} ${{ inputs.maven-additional-args }} ${{ inputs.maven-sonar-args }}
7171
shell: bash
7272
if: ${{ inputs.os == inputs.sonar-run-on-os && inputs.java-version == inputs.sonar-run-on-java-version && inputs.sonar-token != '' }}
7373

0 commit comments

Comments
 (0)