File: release.yml

package info (click to toggle)
ccbuild 2.0.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,612 kB
  • sloc: cpp: 5,093; ansic: 1,913; sh: 244; makefile: 24
file content (27 lines) | stat: -rw-r--r-- 624 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: release

on:
  push:
    tags:
      - "*"

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: Setup
        run: |
          sudo apt-get install -y libgnutls28-dev g++ libboost-dev flex libfl-dev pandoc
          cmake .
      - name: Build
        run: cmake --build . --config Release
      - name: Package
        run: ./package.sh
        id: package
      - uses: ncipollo/release-action@v1
        with:
          artifacts: "build/ccbuild*.tar.gz"
          bodyFile: "build/release.md"
          token: ${{ secrets.GITHUB_TOKEN }}
          prerelease: true