Files
labca/.github/workflows/release.yml
dependabot[bot] 9aa6fa3eb9 Bump actions/setup-go from 4 to 5 (#105)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 08:21:25 +01:00

52 lines
1.1 KiB
YAML

name: Create Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
build-standalone:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
GO_VERSION:
- 1.21.4
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.GO_VERSION }}
- name: APT Install
id: aptInstall
run: sudo apt-get -y install build-essential debhelper fakeroot
- name: Build Debian package
id: make_debian
run: |
make debian
- name: Create changelog text
id: changelog
uses: loopwerk/tag-changelog@v1
with:
token: ${{ secrets.ACTION_PAT }}
- name: Create release
uses: ncipollo/release-action@v1
with:
artifacts: "release/*"
body: ${{ steps.changelog.outputs.changes }}
draft: true
token: ${{ secrets.ACTION_PAT }}