Skip to content

Commit

Permalink
Merge pull request #76 from kuhnroyal/chore/merge-master-into-develop
Browse files Browse the repository at this point in the history
Merge master into develop
  • Loading branch information
kuhnroyal authored Sep 2, 2021
2 parents 1418977 + 8e0847a commit 6e8b7e1
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 41 deletions.
6 changes: 5 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@ version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
labels:
- "dependencies"
- "skip-changelog"
target-branch: "develop"
schedule:
interval: "daily"
interval: "daily"
1 change: 1 addition & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ categories:
- 'bug'
- title: '🧰 Maintenance'
labels:
- 'documentation'
- 'chore'
- 'infra'
- title: '🧪 Experimental'
Expand Down
36 changes: 22 additions & 14 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,25 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up JDK 1.11
uses: actions/[email protected]
with:
distribution: 'adopt'
java-version: '11'
check-latest: true
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }} #required
- uses: actions/[email protected]
- name: Set up JDK 1.11
uses: actions/[email protected]
with:
distribution: 'adopt'
java-version: '11'
check-latest: true
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }} #required
- id: get-version
name: Get maven project version
uses: jactions/[email protected]
- name: Upload plugin artifact
uses: actions/[email protected]
with:
name: plugin
path: sonar-flutter-plugin/target/sonar-flutter-plugin-${{ steps.get-version.outputs.version }}.jar
6 changes: 3 additions & 3 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
workflow_dispatch:
push:
branches:
- develop
- master

jobs:
update_release_draft:
if: github.repository_owner == 'insideapp-oss'
runs-on: ubuntu-latest
steps:
- uses: release-drafter/[email protected]
- id: release-drafter
uses: release-drafter/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish release

on:
release:
types: [published]

jobs:
build:
name: Build and upload release
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up JDK 1.11
uses: actions/[email protected]
with:
distribution: 'adopt'
java-version: '11'
check-latest: true
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload release artifact
uses: shogo82148/[email protected]
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: sonar-flutter-plugin/target/sonar-flutter-plugin-*.jar
23 changes: 0 additions & 23 deletions .github/workflows/update-changelog.yml

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Please check the Github releases for newer changelogs!

---

## 0.3.2

#### Breaking
Expand Down

0 comments on commit 6e8b7e1

Please sign in to comment.