mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-18 19:14:27 +08:00
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v3...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>
41 lines
No EOL
980 B
YAML
41 lines
No EOL
980 B
YAML
name: UpgradeRelease
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
version:
|
|
description: "release/version to update"
|
|
required: true
|
|
|
|
jobs:
|
|
|
|
update:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
ref: release_${{ github.event.inputs.version }}
|
|
fetch-depth: 0
|
|
- run: |
|
|
git fetch --force --tags
|
|
- name: Setup go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: 1.19
|
|
- name: goreleaser
|
|
uses: goreleaser/goreleaser-action@v4
|
|
with:
|
|
args: release --clean --release-notes release.md -f .goreleaser.update.yaml
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
packages:
|
|
uses: ./.github/workflows/packages.yml
|
|
with:
|
|
version: ${{ github.event.inputs.version }}
|
|
|
|
pull-request:
|
|
uses: ./.github/workflows/pull-request.yml
|
|
with:
|
|
version: ${{ github.event.inputs.version }} |