Skip to content

Commit d397a6e

Browse files
authored
Add newer Emacs versions to CI and refactor release workflow (#10)
1 parent b55c40a commit d397a6e

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/release.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
- run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//}
13-
id: get_tag
14-
- run: gh release create '${{ steps.get_tag.outputs.tag }}' --draft --notes 'See also the [CHANGELOG](https://github.com/${{ github.repository }}/blob/${{ steps.get_tag.outputs.tag }}/CHANGELOG.md).'
12+
- run: |
13+
echo "See also the [changelog](https://github.com/${GITHUB_REPOSITORY}/blob/${GITHUB_REF_NAME}/CHANGELOG.md) for details." >> notes.md
14+
15+
gh release create "${GITHUB_REF_NAME}" --notes-file=notes.md --draft
1516
env:
1617
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ jobs:
1717
- 25.3
1818
- 26.3
1919
- 27.2
20+
- 28.2
21+
- 29.3
2022
steps:
2123
- uses: actions/checkout@v4
22-
- uses: purcell/setup-emacs@master
24+
- uses: purcell/setup-emacs@7a92187aa5b5a3b854cbdfa47499fbd3d1207163
2325
with:
2426
version: ${{ matrix.emacs-version }}
25-
- uses: leotaku/elisp-check@master
27+
- uses: leotaku/elisp-check@6a1fc6b11ae66dda13859f8b3474a36dfe3ef225

0 commit comments

Comments
 (0)