Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close #3199 Add "Make Latest" input to create release github actions workflow. #3841

Merged
Changes from all commits
Commits
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
9 changes: 8 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
required: false
default: false
type: boolean
make_latest:
description: Should this be made the latest release?
required: false
default: false
type: boolean
jobs:
build:
name: Upload Release Asset
Expand Down Expand Up @@ -56,10 +61,12 @@ jobs:
tag_name: ${{ github.event.inputs.version }}
name: ${{ github.event.inputs.version }}
draft: false
make_latest: ${{ github.event.inputs.make_latest }}
prerelease: ${{ github.event.inputs.pre_release }}
files: |
./az_quickstart.zip
./az_quickstart.tar.gz

- name: Remove version from info file
run: |
git config user.name github-actions
Expand All @@ -83,4 +90,4 @@ jobs:
token: ${{ secrets.REPO_DISPATCH_TOKEN }}
repository: ${{ matrix.repo }}
event-type: az_quickstart_release
client-payload: '{"version": "${{ github.event.inputs.version }}"}'
client-payload: '{"version": "${{ github.event.inputs.version }}", "make_latest": "${{ github.event.inputs.make_latest }}"}'