Skip to content

Commit

Permalink
ci: update workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Aug 4, 2024
1 parent ab3423a commit 8b4194f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ jobs:
run: ls -R

- uses: actions/upload-artifact@v4
if: needs.build.outputs.successful == 'true'
with:
name: wxmp-windows
path: |
Expand Down Expand Up @@ -181,6 +182,7 @@ jobs:
run: ls -R

- uses: actions/upload-artifact@v4
if: needs.build.outputs.successful == 'true'
with:
name: wxmp-macos
path: |
Expand Down Expand Up @@ -214,6 +216,7 @@ jobs:
run: ls -R

- uses: actions/upload-artifact@v4
if: needs.build.outputs.successful == 'true'
with:
name: wxmp-linux
path: |
Expand All @@ -223,7 +226,7 @@ jobs:
create_release:
needs: [build, build_windows, build_macos, build_linux]
if: needs.build.outputs.successful
if: needs.build.outputs.successful == 'true'
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
Expand Down Expand Up @@ -261,7 +264,7 @@ jobs:

- name: Create Release
uses: ncipollo/release-action@v1
if: needs.build.outputs.successful
if: needs.build.outputs.successful == 'true'
with:
allowUpdates: true
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -303,7 +306,7 @@ jobs:
- run: echo "outputs.version - ${{ needs.build.outputs.create_tag_version }}"

- uses: dev-drprasad/[email protected]
if: needs.build.outputs.successful
if: needs.build.outputs.successful == 'true'
with:
delete_release: true
repo: jaywcjlove/wxmp
Expand Down

0 comments on commit 8b4194f

Please sign in to comment.