From 49cc39a9eee54657b68d7a5322ec39cdc219fa1e Mon Sep 17 00:00:00 2001 From: dessant Date: Sun, 4 Dec 2022 03:25:15 +0200 Subject: [PATCH] chore: update workflows --- .github/workflows/label-actions.yml | 2 +- .github/workflows/release.yml | 11 +++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/label-actions.yml b/.github/workflows/label-actions.yml index 8551bf7..2c84423 100644 --- a/.github/workflows/label-actions.yml +++ b/.github/workflows/label-actions.yml @@ -18,4 +18,4 @@ jobs: action: runs-on: ubuntu-latest steps: - - uses: dessant/label-actions@v2 + - uses: dessant/label-actions@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d6d4ae3..d64047b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,19 +8,14 @@ on: jobs: release: name: Release on GitHub - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 permissions: contents: write steps: - - name: Get release information - id: release_info - run: | - echo ::set-output name=TAG::${GITHUB_REF/refs\/tags\//} - echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/} - name: Create GitHub release uses: softprops/action-gh-release@v1 with: - tag_name: ${{ steps.release_info.outputs.TAG }} - name: ${{ steps.release_info.outputs.TAG }} + tag_name: ${{ github.ref_name }} + name: ${{ github.ref_name }} body: > Learn more about this release from the [changelog](https://github.com/dessant/label-actions/blob/master/CHANGELOG.md#changelog).