Skip to content

Commit

Permalink
Merge pull request #2023 from microsoftgraph/fix/compare-packages
Browse files Browse the repository at this point in the history
Fix branch name to download previous release artifacts from
  • Loading branch information
Ndiritu authored May 30, 2024
2 parents f470cbd + ff5cb45 commit 53d5fdd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,16 @@ jobs:
with:
name: drop
path: artifacts/current/
- name: Get latest release tag
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: echo "BRANCH=$(gh release list -L 1 --json tagName --jq '.[0] | .tagName')" >> $GITHUB_ENV
- name: Download Last Successful Build
uses: dawidd6/[email protected]
with:
workflow: preview-and-release.yml
workflow_conclusion: success
branch: main
branch: ${{ env.BRANCH }}
event: push
name: drop
path: artifacts/previous/
Expand Down

0 comments on commit 53d5fdd

Please sign in to comment.