chore(deps): add renovate.json (#2344) fix(deps): update module github.com/aws/aws-sdk-go to v1.44.137 (#2345) chore(deps): update actions-cool/issues-helper action to v2.5.0 (#2346) fix(deps): update module github.com/caarlos0/env/v6 to v6.10.1 (#2348) fix(deps): update module github.com/gin-contrib/cors to v1.4.0 (#2349) fix(deps): update module github.com/sirupsen/logrus to v1.9.0 (#2354) [skip ci] fix(deps): update module gorm.io/driver/postgres to v1.4.5 (#2361) [skip ci] fix(deps): update module golang.org/x/crypto to v0.2.0 (#2357) [skip ci] fix(deps): update module github.com/aws/aws-sdk-go to v1.44.138 (#2358) [skip ci] fix(deps): update module gorm.io/gorm to v1.24.1 (#2366) [skip ci] fix(deps): update module gorm.io/driver/mysql to v1.4.4 (#2360) [skip ci] fix(deps): update module github.com/spf13/cobra to v1.6.1 (#2356) [skip ci] chore(deps): update actions-cool/issues-helper action to v3 (#2367) [skip ci] fix(deps): update module gorm.io/driver/sqlite to v1.4.3 (#2365) [skip ci] chore(deps): update actions/checkout action to v3 (#2368) [skip ci] chore(deps): update actions/setup-go action to v3 (#2374) [skip ci] chore(deps): update actions/upload-artifact action to v3 (#2375) [skip ci] chore(deps): update docker/build-push-action action to v3 (#2377) [skip ci] chore(deps): update docker/login-action action to v2 (#2378) [skip ci] chore(deps): update docker/metadata-action action to v4 (#2381) [skip ci] chore(deps): update docker/setup-buildx-action action to v2 (#2382) [skip ci] chore(deps): update docker/setup-qemu-action action to v2 (#2387) [skip ci] fix(deps): update module github.com/aws/aws-sdk-go to v1.44.139 (#2394) [skip ci] fix(deps): update module golang.org/x/crypto to v0.3.0 (#2395) [skip ci] Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
52 lines
1.1 KiB
YAML
52 lines
1.1 KiB
YAML
name: release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
changelog:
|
|
name: Create Release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- run: npx changelogithub # or changelogithub@0.12 if ensure the stable result
|
|
env:
|
|
GITHUB_TOKEN: ${{secrets.MY_TOKEN}}
|
|
release:
|
|
needs: changelog
|
|
strategy:
|
|
matrix:
|
|
platform: [ubuntu-latest]
|
|
go-version: [1.19]
|
|
name: Release
|
|
runs-on: ${{ matrix.platform }}
|
|
steps:
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
docker pull techknowlogick/xgo:latest
|
|
go install src.techknowlogick.com/xgo@latest
|
|
sudo apt install upx
|
|
|
|
- name: Build
|
|
run: |
|
|
bash build.sh release
|
|
|
|
- name: Release
|
|
uses: softprops/action-gh-release@v1
|
|
with:
|
|
files: build/compress/* |