mirror of
https://github.com/jaywcjlove/wxmp.git
synced 2026-01-10 15:28:47 +08:00
ci: update workflows config.
This commit is contained in:
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@@ -148,6 +148,7 @@ jobs:
|
|||||||
run: ls -R
|
run: ls -R
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
|
if: needs.build.outputs.successful == 'true'
|
||||||
with:
|
with:
|
||||||
name: wxmp-windows
|
name: wxmp-windows
|
||||||
path: |
|
path: |
|
||||||
@@ -181,6 +182,7 @@ jobs:
|
|||||||
run: ls -R
|
run: ls -R
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
|
if: needs.build.outputs.successful == 'true'
|
||||||
with:
|
with:
|
||||||
name: wxmp-macos
|
name: wxmp-macos
|
||||||
path: |
|
path: |
|
||||||
@@ -214,6 +216,7 @@ jobs:
|
|||||||
run: ls -R
|
run: ls -R
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
|
if: needs.build.outputs.successful == 'true'
|
||||||
with:
|
with:
|
||||||
name: wxmp-linux
|
name: wxmp-linux
|
||||||
path: |
|
path: |
|
||||||
@@ -223,7 +226,7 @@ jobs:
|
|||||||
|
|
||||||
create_release:
|
create_release:
|
||||||
needs: [build, build_windows, build_macos, build_linux]
|
needs: [build, build_windows, build_macos, build_linux]
|
||||||
if: needs.build.outputs.successful
|
if: needs.build.outputs.successful == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 45
|
timeout-minutes: 45
|
||||||
steps:
|
steps:
|
||||||
@@ -261,7 +264,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
if: needs.build.outputs.successful
|
if: needs.build.outputs.successful == 'true'
|
||||||
with:
|
with:
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -303,7 +306,7 @@ jobs:
|
|||||||
- run: echo "outputs.version - ${{ needs.build.outputs.create_tag_version }}"
|
- run: echo "outputs.version - ${{ needs.build.outputs.create_tag_version }}"
|
||||||
|
|
||||||
- uses: dev-drprasad/delete-tag-and-release@v1.1
|
- uses: dev-drprasad/delete-tag-and-release@v1.1
|
||||||
if: needs.build.outputs.successful
|
if: needs.build.outputs.successful == 'true'
|
||||||
with:
|
with:
|
||||||
delete_release: true
|
delete_release: true
|
||||||
repo: jaywcjlove/wxmp
|
repo: jaywcjlove/wxmp
|
||||||
|
|||||||
Reference in New Issue
Block a user