From 89ca667cf440a22e27d1279afd853eb5d87e835e Mon Sep 17 00:00:00 2001 From: Hongjian Fan <86060531+HJ-Fan@users.noreply.github.com> Date: Tue, 18 Jun 2024 16:45:52 -0500 Subject: [PATCH] Create release.yml Signed-off-by: Hongjian Fan <86060531+HJ-Fan@users.noreply.github.com> --- .github/workflows/release.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..ba6c34a --- /dev/null +++ b/.github/workflows/release.yml @@ -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 }}"