Skip to content

Commit b677b85

Browse files
committed
chore: update workflows
1 parent dc42875 commit b677b85

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

.github/workflows/lock.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
action:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: dessant/lock-threads@v3
19+
- uses: dessant/lock-threads@v4

.github/workflows/release.yml

+3-8
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,14 @@ on:
88
jobs:
99
release:
1010
name: Release on GitHub
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-22.04
1212
permissions:
1313
contents: write
1414
steps:
15-
- name: Get release information
16-
id: release_info
17-
run: |
18-
echo ::set-output name=TAG::${GITHUB_REF/refs\/tags\//}
19-
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
2015
- name: Create GitHub release
2116
uses: softprops/action-gh-release@v1
2217
with:
23-
tag_name: ${{ steps.release_info.outputs.TAG }}
24-
name: ${{ steps.release_info.outputs.TAG }}
18+
tag_name: ${{ github.ref_name }}
19+
name: ${{ github.ref_name }}
2520
body: >
2621
Learn more about this release from the [changelog](https://github.com/dessant/lock-threads/blob/master/CHANGELOG.md#changelog).

0 commit comments

Comments
 (0)