Skip to content

Merge pull request #2000 from microsoftgraph/release-please--branches… #91

Merge pull request #2000 from microsoftgraph/release-please--branches…

Merge pull request #2000 from microsoftgraph/release-please--branches… #91

Workflow file for this run

name: Git Release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
workflow_dispatch:
jobs:
Git_Release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Download Build Artifact
uses: dawidd6/action-download-artifact@v3.1.4
with:
workflow: preview-and-release.yml
workflow_conclusion: success
branch: dev
event: push
name: drop
path: drop
# This action works with an existing release (created by the release bot) and uploads the build artifacts
- name: GitHub Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
token: ${{ secrets.GITHUB_TOKEN }}
fail_on_unmatched_files: true
files: |
drop/build/**/*.jar