From 7f0e06f7dd3c767e5cccd3d8e83ec7281fe16072 Mon Sep 17 00:00:00 2001 From: 1nv8rZim Date: Mon, 23 Oct 2023 20:58:54 -0400 Subject: [PATCH] update legacy actions --- .github/workflows/release-plugin.yml | 32 ---------------------------- .github/workflows/release.yml | 23 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 32 deletions(-) delete mode 100644 .github/workflows/release-plugin.yml create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release-plugin.yml b/.github/workflows/release-plugin.yml deleted file mode 100644 index aec0ab2..0000000 --- a/.github/workflows/release-plugin.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Compile and Release Plugin - -on: - push: - tags: - - 'v*.*.*' - -jobs: - release: - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Setup Go environment - uses: actions/setup-go@v4 - with: - go-version: "1.20" - cache: false - - - name: Create Release - id: create_release - uses: ncipollo/release-action@v1.13.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag: ${{ github.ref_name }} - name: Release ${{ github.ref_name }} - draft: false - prerelease: false diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..7456cfc --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,23 @@ +name: Create Release + +on: + push: + tags: + - "v*.*.*" + +jobs: + release: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Create Release + id: create_release + uses: ncipollo/release-action@v1.13.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag: ${{ github.ref_name }} + name: Release ${{ github.ref_name }} + draft: false + prerelease: false