mirror of
https://github.com/283375/arcaea-offline.git
synced 2025-04-21 15:00:18 +00:00
ci: dist file discovery
This commit is contained in:
parent
62c3431cff
commit
5f52d111ca
12
.github/workflows/build-and-draft-release.yml
vendored
12
.github/workflows/build-and-draft-release.yml
vendored
@ -29,6 +29,14 @@ jobs:
|
|||||||
pip install build
|
pip install build
|
||||||
python -m build
|
python -m build
|
||||||
|
|
||||||
|
- name: Remove `v` in tag name
|
||||||
|
uses: mad9000/actions-find-and-replace-string@5
|
||||||
|
id: tagNameReplaced
|
||||||
|
with:
|
||||||
|
source: ${{ github.ref_name }}
|
||||||
|
find: "v"
|
||||||
|
replace: ""
|
||||||
|
|
||||||
- name: Draft a release
|
- name: Draft a release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
@ -36,5 +44,5 @@ jobs:
|
|||||||
draft: true
|
draft: true
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
files: |
|
files: |
|
||||||
dist/arcaea_offline-${{ github.ref_name }}*.whl
|
dist/arcaea_offline-${{ steps.tagNameReplaced.outputs.value }}*.whl
|
||||||
dist/arcaea-offline-${{ github.ref_name }}.tar.gz
|
dist/arcaea-offline-${{ steps.tagNameReplaced.outputs.value }}.tar.gz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user