summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
blob: b361436395635664862ec298826f8479e99a882d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Release Version
on:
  push:
    tags:
      - "v*.*.*"

jobs:
  release:
    name: Release New Version
    runs-on: ubuntu-latest
    steps:
      - name: Repository checkout
        uses: actions/checkout@v5

      - name: Install dependency packages
        run: sudo .github/workflows/ubuntu.sh

      - name: Build the source code
        run: .github/workflows/builds.sh autotools
      - name: Create github release
        run: |
          gh release create ${{ github.ref_name }} --title ${{ github.ref_name }} --generate-notes libmatemixer-*.tar.xz
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}