From d397a6ed9a13d34f8c0a7327a65ef28223183313 Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Tue, 25 Jun 2024 01:57:01 +0900 Subject: [PATCH] Add newer Emacs versions to CI and refactor release workflow (#10) --- .github/workflows/release.yml | 7 ++++--- .github/workflows/test.yml | 6 ++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f0e374..9bd102d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,8 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//} - id: get_tag - - 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).' + - run: | + echo "See also the [changelog](https://github.com/${GITHUB_REPOSITORY}/blob/${GITHUB_REF_NAME}/CHANGELOG.md) for details." >> notes.md + + gh release create "${GITHUB_REF_NAME}" --notes-file=notes.md --draft env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b1ac3af..9f3eb44 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,9 +17,11 @@ jobs: - 25.3 - 26.3 - 27.2 + - 28.2 + - 29.3 steps: - uses: actions/checkout@v4 - - uses: purcell/setup-emacs@master + - uses: purcell/setup-emacs@7a92187aa5b5a3b854cbdfa47499fbd3d1207163 with: version: ${{ matrix.emacs-version }} - - uses: leotaku/elisp-check@master + - uses: leotaku/elisp-check@6a1fc6b11ae66dda13859f8b3474a36dfe3ef225