Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
8a85864
Bump mockito-inline from 3.12.3 to 3.12.4
dependabot[bot] Aug 26, 2021
14c60e4
Bump mockito-inline from 3.12.3 to 3.12.4
dependabot[bot] Aug 26, 2021
66428b6
Merge pull request #296 from microsoftgraph/dependabot/gradle/org.moc…
baywet Aug 26, 2021
a0ba285
Update readme.md
ramsessanchez Aug 26, 2021
6ce19e8
Update readme.md
ramsessanchez Aug 27, 2021
54ae401
Merge pull request #299 from microsoftgraph/rsh/updateReadme
baywet Aug 28, 2021
a95ac24
Create build-and-publish.yml
ramsessanchez Sep 1, 2021
28e818c
Update .github/workflows/build-and-publish.yml
ramsessanchez Sep 2, 2021
b0b2d46
Update build-and-publish.yml
ramsessanchez Sep 2, 2021
25012a0
Update build-and-publish.yml
ramsessanchez Sep 2, 2021
0563999
Update build-and-publish.yml
ramsessanchez Sep 7, 2021
f683790
Bump azure-core from 1.19.0 to 1.20.0
dependabot[bot] Sep 8, 2021
5b19a50
Bump azure-core from 1.19.0 to 1.20.0
dependabot[bot] Sep 8, 2021
1cb8ffc
Update build-and-publish.yml
ramsessanchez Sep 8, 2021
581df0f
Update build-and-publish.yml
ramsessanchez Sep 8, 2021
f461ea8
Merge pull request #306 from microsoftgraph/dependabot/gradle/com.azu…
baywet Sep 8, 2021
e07b0b2
Merge pull request #308 from microsoftgraph/dependabot/maven/com.azur…
baywet Sep 8, 2021
d2fcdab
#309
Sep 9, 2021
5c55675
#300
Aug 31, 2021
5d0a0bc
performance improvement
Sep 9, 2021
ffb2962
fix string compare with = not equals
Sep 9, 2021
a202298
java 8 code migration style
Sep 9, 2021
d6a2aa0
Apply suggestions from code review
baywet Sep 9, 2021
f231e5a
Merge pull request #310 from valenpo/dev
baywet Sep 9, 2021
93bb77c
Merge pull request #297 from microsoftgraph/dependabot/maven/org.mock…
baywet Sep 9, 2021
dd30785
Update build-and-publish.yml
ramsessanchez Sep 9, 2021
0f83e1d
Merge pull request #303 from microsoftgraph/rsh/addBuildWorkflow
ramsessanchez Sep 10, 2021
1c89abb
- removes ADO pipeline definition
baywet Sep 10, 2021
333f451
Bump junit-jupiter-api from 5.7.2 to 5.8.0
dependabot[bot] Sep 13, 2021
ce37215
Bump junit-jupiter-api from 5.7.2 to 5.8.0
dependabot[bot] Sep 13, 2021
6e83992
Merge pull request #312 from microsoftgraph/dependabot/gradle/org.jun…
baywet Sep 13, 2021
935add1
Bump junit-jupiter-engine from 5.7.2 to 5.8.0
dependabot[bot] Sep 13, 2021
3caba40
Merge pull request #311 from microsoftgraph/dependabot/gradle/org.jun…
baywet Sep 13, 2021
2a9e939
Merge pull request #314 from microsoftgraph/dependabot/maven/org.juni…
baywet Sep 13, 2021
8b7a854
add working release action and upload changelog.md
ramsessanchez Sep 13, 2021
046b6da
Update .github/workflows/build-and-publish.yml
ramsessanchez Sep 13, 2021
0b98975
Update .github/workflows/build-and-publish.yml
ramsessanchez Sep 13, 2021
ca5141a
Merge pull request #305 from microsoftgraph/rsh/publishUsingGHActions
ramsessanchez Sep 13, 2021
35ffa51
Update CHANGELOG.MD
ramsessanchez Sep 13, 2021
6a1b74a
Update gradle-build.yml
ramsessanchez Sep 13, 2021
628c64d
Update build-and-publish.yml
ramsessanchez Sep 13, 2021
76b2582
Create readme.md
ramsessanchez Sep 13, 2021
de87d61
Update gradle.properties
ramsessanchez Sep 13, 2021
648705f
Update pom.xml
ramsessanchez Sep 13, 2021
a2ee01f
Update TelemetryHandler.java
ramsessanchez Sep 13, 2021
06aed87
Merge pull request #318 from microsoftgraph/rsh/bump-patch-version
baywet Sep 13, 2021
c6492fe
Merge pull request #317 from microsoftgraph/rsh/workflow-patch
baywet Sep 13, 2021
69c4754
Update CHANGELOG.MD
ramsessanchez Sep 13, 2021
57c05f3
Merge pull request #316 from microsoftgraph/rsh/changeLogUpdate
baywet Sep 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 0 additions & 111 deletions .azure-pipelines/buildAndPackage.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .azure-pipelines/templates/build/build-and-coverage.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .azure-pipelines/templates/build/checkout-and-credscan.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .azure-pipelines/templates/build/publish-artefacts.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .azure-pipelines/templates/copy-and-build.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .azure-pipelines/templates/download-artifacts.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .azure-pipelines/templates/install-java.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .azure-pipelines/templates/secure-files.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .azure-pipelines/templates/version-and-release.yml

This file was deleted.

118 changes: 118 additions & 0 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
# 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: Build and Publish

on:
push:
branches: [ dev , master ]
paths:
- 'src/**'
- '.github/**'
- '!.gradle/wrapper'
- '!.gitignore'
- '!LICENSE'
- '!THIRD PARTY NOTICES'
- '!*.md'
- '*.gradle'
env:
PREVIEW_TASK: publishSnapshotPublicationToSonatypeSnapshotRepository
PUBLISH_TASK: publishMavenCentralReleasePublicationToSonatypeRepository

jobs:
maven_Preview:
if: ${{ github.ref == 'refs/head/dev' }}
environment:
name: maven_central_snapshot
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Easy detect-secrets
uses: RobertFischer/detect-secrets-action@v2.0.0
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '16'
distribution: 'adopt'
cache: gradle
- run: .\scripts\decodeAndWrite.ps1 -encodedValue $env:ENCODED_VALUE -outputPath $env:OUTPUT_PATH
shell: pwsh
env:
ENCODED_VALUE: ${{ secrets.LOCAL_PROPERTIES }}
OUTPUT_PATH: .\local.properties
- run: .\scripts\decodeAndWrite.ps1 -encodedValue $env:ENCODED_VALUE -outputPath $env:OUTPUT_PATH
shell: pwsh
env:
ENCODED_VALUE: ${{ secrets.SECRING_GPG }}
OUPUT_PATH: .\secring.gpg
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Publish
run: ./gradlew $PREVIEW_TASK

maven_Release:
if: ${{ github.ref == 'ref/head/master' }}
environment:
name: maven_central_release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Easy detect-secrets
uses: RobertFischer/detect-secrets-action@v2.0.0
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '16'
distribution: 'adopt'
cache: gradle
- run: .\scripts\decodeAndWrite.ps1 -encodedValue $env:ENCODED_VALUE -outputPath $env:OUTPUT_PATH
shell: pwsh
env:
ENCODED_VALUE: ${{ secrets.LOCAL_PROPERTIES }}
OUTPUT_PATH: .\local.properties
- run: .\scripts\decodeAndWrite.ps1 -encodedValue $env:ENCODED_VALUE -outputPath $env:OUTPUT_PATH
shell: pwsh
env:
ENCODED_VALUE: ${{ secrets.SECRING_GPG }}
OUTPUT_PATH: .\secring.gpg
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Publish
run: ./gradlew $PUBLISH_TASK
- name: Upload Build Artifact
uses: actions/upload-artifact@v2.2.4
with:
name: drop
path: |
**/libs/*
build/generated-pom.xml
build/generated-pom.xml.asc
build.gradle
gradlew
gradlew.bat
settings.gradle
gradle.properties
**/gradle/**
Scripts/**

githubRelease:
needs: maven_Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Download Build Artifact
uses: actions/download-artifact@v2.0.10
with:
name: drop
path: drop
- name: Github Release
uses: anton-yurchenko/git-release@v4.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
DRAFT_RELEASE: "false"
PRE_RELEASE: "false"
CHANGELOG_FILE: "CHANGELOG.md"
ALLOW_EMPTY_CHANGELOG: "true"
with:
args: |
drop/**
Loading