fix: Updates Github Actions & Azure Pipelines (#1192)

This commit is contained in:
Kamron Batman 2022-10-16 10:10:55 -07:00 committed by GitHub
parent 3396338926
commit 5e7dbb53c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 23 deletions

View file

@ -10,7 +10,7 @@ jobs:
name: Create Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
token: ${{ secrets.WORKFLOW_TOKEN }}
@ -40,22 +40,22 @@ jobs:
id: changelog
uses: TriPSs/conventional-changelog-action@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.WORKFLOW_TOKEN }}
output-file: false
skip-version-file: true
skip-commit: true
release-count: 1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
- name: Delete v${{ steps.changelog.outputs.version }} Tag
uses: dev-drprasad/delete-tag-and-release@v0.1.3
uses: dev-drprasad/delete-tag-and-release@v0.2.0
with:
delete_release: true
tag_name: v${{ steps.changelog.outputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
- name: Delete v0.1.0 Tag
uses: dev-drprasad/delete-tag-and-release@v0.1.3
uses: dev-drprasad/delete-tag-and-release@v0.2.0
with:
delete_release: true
tag_name: v0.1.0
@ -63,12 +63,11 @@ jobs:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
- name: Create Release
id: create_release
uses: actions/create-release@v1
uses: softprops/action-gh-release@v1
with:
body: ${{ steps.changelog.outputs.clean_changelog }}
tag_name: ${{ steps.nbgv.outputs.Version }}
release_name: ${{ steps.nbgv.outputs.Version }}
name: ${{ steps.nbgv.outputs.Version }}
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
token: ${{ secrets.WORKFLOW_TOKEN }}