-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: loonghao <[email protected]>
- Loading branch information
Showing
16 changed files
with
17,083 additions
and
16,978 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,15 +11,18 @@ jobs: | |
permissions: | ||
# IMPORTANT: this permission is mandatory for trusted publishing | ||
id-token: write | ||
contents: write | ||
|
||
steps: | ||
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 | ||
with: | ||
token: "${{ secrets.GITHUB_TOKEN }}" | ||
fetch-depth: 0 | ||
ref: main | ||
- name: Set output | ||
id: vars | ||
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} | ||
- uses: olegtarasov/[email protected] | ||
id: get_tag_name | ||
with: | ||
tagRegex: "v(?<version>.*)" | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
|
@@ -35,7 +38,35 @@ jobs: | |
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
packages-dir: dist | ||
- name: Create release Version | ||
run: gh release create ${{ steps.vars.outputs.tag }} --generate-notes | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
- name: make Maya Mod | ||
id: make_maya_mod | ||
run: | | ||
nox -s make-zip -- --version ${{ steps.get_tag_name.outputs.version }} | ||
- name: Generate changelog | ||
id: changelog | ||
uses: jaywcjlove/changelog-generator@main | ||
if: steps.get_tag_name.outputs.successful | ||
with: | ||
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
filter-author: (|dependabot|renovate\\[bot\\]|dependabot\\[bot\\]|Renovate Bot) | ||
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}' | ||
template: | | ||
## Bugs | ||
{{fix}} | ||
## Feature | ||
{{feat}} | ||
## Improve | ||
{{refactor,perf,clean}} | ||
## Misc | ||
{{chore,style,ci||🔶 Nothing change}} | ||
## Unknown | ||
{{__unknown__}} | ||
- uses: ncipollo/release-action@v1 | ||
if: steps.make_maya_mod.outputs.successful | ||
with: | ||
artifacts: ".zip/maya_umbrella-*.zip" | ||
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
body: | | ||
Comparing Changes: ${{ steps.changelog.outputs.compareurl }} | ||
${{ steps.changelog.outputs.changelog }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.