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

Change from marvinpinto/action-automatic-releases to softprops/action-gh-release@v1 #86

Merged
merged 4 commits into from
Jan 9, 2023
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
22 changes: 12 additions & 10 deletions .github/workflows/auto-git-release-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,23 @@ jobs:
echo "current_commit: ${{steps.next_semantic_version.outputs.current_commit}}"

- name: Creating Git release tag for the ${{steps.next_semantic_version.outputs.version}} version
uses: marvinpinto/action-automatic-releases@10bdce64abdb4558a2ee6983192242be40d631d8 # Pin "latest" https://github.com/marvinpinto/action-automatic-releases/commit/10bdce64abdb4558a2ee6983192242be40d631d8 necessary to avoid "The `set-env` command is disabled."
with: # See https://github.com/marvinpinto/action-automatic-releases/tree/v1.1.0#supported-parameters
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${{steps.next_semantic_version.outputs.version}}
uses: softprops/action-gh-release@v1
with: # See https://github.com/softprops/action-gh-release#-customizing
token: "${{ secrets.GITHUB_TOKEN }}"
tag_name: ${{steps.next_semantic_version.outputs.version}}
name: "Automatic release ${{steps.next_semantic_version.outputs.version}}"
prerelease: true
title: "Automatic release ${{steps.next_semantic_version.outputs.version}}"
generate_release_notes: true
files: |
CHANGELOG.md

- name: Updating Git release tag for "latest-rc" version
uses: marvinpinto/action-automatic-releases@10bdce64abdb4558a2ee6983192242be40d631d8 # Pin "latest" https://github.com/marvinpinto/action-automatic-releases/commit/10bdce64abdb4558a2ee6983192242be40d631d8 necessary to avoid "The `set-env` command is disabled."
with: # See https://github.com/marvinpinto/action-automatic-releases/tree/v1.1.0#supported-parameters
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: latest-rc
uses: softprops/action-gh-release@v1
with: # See https://github.com/softprops/action-gh-release#-customizing
token: "${{ secrets.GITHUB_TOKEN }}"
tag_name: latest-rc
name: "Latest release (auto-update) - UNSAFE for production usage"
prerelease: true
title: "Latest release (auto-update) - UNSAFE for production usage"
generate_release_notes: true
files: |
CHANGELOG.md