Bump actions/checkout from 6 to 7 #20
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Create a release | |
| on: | |
| push: | |
| branches: [ '**' ] | |
| tags: | |
| - '[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]' | |
| - '[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-alpha.*' | |
| - '[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-beta.*' | |
| jobs: | |
| release: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Install packages | |
| run: | | |
| sudo apt install gettext vim | |
| - name: Create an archive | |
| run: | | |
| make release ARCHIVE=vim-lang-ja-${{ github.ref_name }} | |
| - name: Upload the archive | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: vim-lang-ja | |
| path: | |
| vim-lang-ja-*.tar.xz | |
| # リリース(draft)を作成しファイルを添付する | |
| - name: Create a release | |
| if: startsWith(github.ref, 'refs/tags/') | |
| uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0 | |
| with: | |
| draft: true | |
| prerelease: ${{ contains(github.ref_name, '-alpha.') || contains(github.ref_name, '-beta.') }} | |
| files: | | |
| vim-lang-ja-*.tar.xz | |
| fail_on_unmatched_files: true | |
| generate_release_notes: true | |
| append_body: true |