From d256a10d1d044556330d5ffe282867072496e1c4 Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Tue, 25 Jun 2024 01:51:32 +0900 Subject: [PATCH 1/3] Add newer Emacs versions to CI and refactor release workflow --- .github/workflows/release.yml | 7 ++++--- .github/workflows/test.yml | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f0e374..a663113 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 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..90c9de0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,8 @@ jobs: - 25.3 - 26.3 - 27.2 + - 28.2 + - 29.3 steps: - uses: actions/checkout@v4 - uses: purcell/setup-emacs@master From 9dca036c773e9907243bd572d0432d1c4599948f Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Tue, 25 Jun 2024 01:53:16 +0900 Subject: [PATCH 2/3] Improve release notes --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a663113..9bd102d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v4 - run: | - echo "See the [changelog](https://github.com/${GITHUB_REPOSITORY}/blob/${GITHUB_REF_NAME}/CHANGELOG.md) for details." >> notes.md + 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: From e02302a6819ece200f1965813d6fd7d7a8cba3b4 Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Tue, 25 Jun 2024 01:55:31 +0900 Subject: [PATCH 3/3] Use commit SHA instead of `master` branch --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 90c9de0..9f3eb44 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: - 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