File: release.yml

package info (click to toggle)
nsscache 0.49-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 19,664 kB
  • sloc: python: 8,661; xml: 584; sh: 304; makefile: 19
file content (24 lines) | stat: -rw-r--r-- 455 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
name: release

on:
  # Test that this workflow parses on PR
  pull_request:
  push:
    tags:
      - v*
      - version/*

permissions:
  # writes to the Releases API
  contents: write

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: softprops/action-gh-release@v1
        # Only execute on a tag
        if: startsWith(github.ref, 'refs/tags/')
        with:
          generate_release_notes: true