Skip to content

Commit

Permalink
Create release.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Hongjian Fan <[email protected]>
  • Loading branch information
HJ-Fan authored Jun 18, 2024
1 parent e468682 commit 89ca667
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release

on:
workflow_dispatch:

jobs:

release:
name: Update Release
runs-on: ubuntu-22.04

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ridedott/release-me-action@master
with:
release-branches: '["main"]'
disable-changelog: true
dry-run: true

- name: Output
run: echo "released version is ${{ steps.build_package.outputs.version }}, type is ${{ steps.build_package.outputs.level }}"

0 comments on commit 89ca667

Please sign in to comment.