Skip to content

Prepare for v0.16.20 release #1541

Prepare for v0.16.20 release

Prepare for v0.16.20 release #1541

Workflow file for this run

on:
pull_request: {}
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
name: Release
jobs:
build:
name: Create Release ${{ github.event_name == 'pull_request' && '(dry-run)' }}
if: github.repository == 'cilium/cilium-cli'
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
# renovate: datasource=golang-version depName=go
go-version: 1.23.2
- name: Generate the artifacts
run: make release
- name: Create Release
if: github.event_name == 'push'
uses: softprops/action-gh-release@e7a8f85e1c67a31e6ed99a94b41bd0b71bbee6b8 # v2.0.9
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
name: Release ${{ github.ref_name }}
draft: true
prerelease: false
generate_release_notes: true
files: 'release/*'