mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 18:19:33 +00:00
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 4. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v2...v4) --- 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>
52 lines
1.1 KiB
YAML
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.20.5
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
persist-credentials: false
|
|
fetch-depth: 0
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v4
|
|
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 }}
|