mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 10:19:34 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
name: Create Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
create-release:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
GO_VERSION:
|
|
- 1.24.4
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v5
|
|
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 dpkg --add-architecture arm64
|
|
sudo apt-get -y install build-essential debhelper fakeroot crossbuild-essential-arm64
|
|
|
|
- name: Build Debian packages
|
|
id: make_debian
|
|
run: |
|
|
make debian
|
|
make debian-arm64
|
|
|
|
- name: Create changelog text
|
|
id: changelog
|
|
uses: loopwerk/tag-changelog@v1
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Create release
|
|
uses: ncipollo/release-action@v1
|
|
with:
|
|
artifacts: "release/*"
|
|
body: ${{ steps.changelog.outputs.changes }}
|
|
draft: true
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|