Skip to content

Commit

Permalink
chore(ci): trigger release.yml on release created (nervosnetwork#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanson authored May 11, 2024
1 parent a478101 commit 95805d3
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,15 @@
name: Release

on:
push:
# Sequence of patterns matched against refs/tags
tags:
- '*'
release:
types: [created]

permissions:
contents: write

jobs:
release:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Create Release
uses: softprops/action-gh-release@v1
with:
name: ckb-debugger ${{ github.ref_name }}
draft: false
prerelease: false

publish-linux:
name: Publish binary on Linux
needs: [release]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -46,7 +32,6 @@ jobs:
publish-macos:
name: Publish binary on macOS
needs: [release]
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -69,7 +54,6 @@ jobs:
publish-windows:
name: Publish binary on Windows
needs: [release]
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -92,7 +76,6 @@ jobs:
publish-crates-io:
name: Publish crates to crates.io
needs: [release]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 95805d3

Please sign in to comment.