Edit

kc3-lang/libxkbcommon/.github/workflows/github-release.yml

Branch :

  • Browse

    Commit

  • Author : Peter Hutterer
    Date : 2022-12-07 09:41:11
    Hash : a005d06c
    Message : CI: bump a few actions to newer versions Node 12 is deprecated so let's bump the actions to newer versions that use Node 16. See https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

  • .github/workflows/github-release.yml
  • name: github-release
    
    on:
      push:
        tags:
          - 'xkbcommon-*'
    
    # Set permissions at the job level.
    permissions: {}
    
    jobs:
      build:
        name: Automatically create GitHub release for tag
        runs-on: ubuntu-20.04
        permissions:
          contents: write
        steps:
          - uses: actions/checkout@v3
            with:
              fetch-depth: 0
              persist-credentials: false
    
          - uses: actions/create-release@v1
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
            with:
              tag_name: ${{ github.ref }}
              release_name: ${{ github.ref }}
              body: |
                See the [NEWS](https://github.com/xkbcommon/libxkbcommon/blob/master/NEWS) file for the changes.
    
                Official tarball: https://xkbcommon.org/download/lib${{ github.ref }}.tar.xz