Let's try it again.
This commit is contained in:
20
.github/workflows/publish-release.yml
vendored
20
.github/workflows/publish-release.yml
vendored
@@ -3,7 +3,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
publish-release:
|
lint-code:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@@ -18,13 +18,15 @@ jobs:
|
|||||||
VALIDATE_ALL_CODEBASE: false
|
VALIDATE_ALL_CODEBASE: false
|
||||||
DEFAULT_BRANCH: "main"
|
DEFAULT_BRANCH: "main"
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Create Release
|
publish-release:
|
||||||
id: create_release
|
runs-on: ubuntu-latest
|
||||||
uses: actions/create-release@v1
|
steps:
|
||||||
env:
|
- name: Publish Release
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.ref }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
release_name: Release ${{ github.ref }}
|
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
name: "0.0.${{ github.run_number }}"
|
||||||
|
tag: "0.0.${{ github.run_number }}"
|
||||||
|
body: "Release 0.0.${{ github.run_number }}"
|
||||||
Reference in New Issue
Block a user