Skip to content

Commit

Permalink
Merge pull request #2017 from microsoftgraph/fix/compare-packages
Browse files Browse the repository at this point in the history
Set previous build branch to dev
  • Loading branch information
Ndiritu authored May 23, 2024
2 parents 62019c4 + 98cc4b0 commit a5078a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 33 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/git-release.yml

This file was deleted.

10 changes: 10 additions & 0 deletions .github/workflows/preview-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ env:
PREVIEW_TASK: publishSnapshotPublicationToSonatypeSnapshotRepository
PUBLISH_TASK: publishMavenCentralReleasePublicationToSonatypeRepository

permissions:
contents: write

jobs:
maven_Preview:
if: ${{ github.ref == 'refs/heads/main' }}
Expand Down Expand Up @@ -96,3 +99,10 @@ jobs:
gradle.properties
**/gradle/**
Scripts/**
- name: GitHub Release
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
fail_on_unmatched_files: true
files: |
build/**/*.jar

0 comments on commit a5078a6

Please sign in to comment.