Skip to content

Merge pull request #314 from minamijoyo/wait-until-function-code-updated #58

Merge pull request #314 from minamijoyo/wait-until-function-code-updated

Merge pull request #314 from minamijoyo/wait-until-function-code-updated #58

Workflow file for this run

name: Release
on:
push:
branches:
- "!**/*"
tags:
- "v*.*.*"
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.20"
check-latest: true
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: setup tools
run: |
mkdir ~/bin
curl -sL https://github.com/Songmu/goxz/releases/download/v0.8.1/goxz_v0.8.1_linux_amd64.tar.gz | tar zxvf - && install goxz_v0.8.1_linux_amd64/goxz ~/bin/
curl -sL https://github.com/tcnksm/ghr/releases/download/v0.13.0/ghr_v0.13.0_linux_amd64.tar.gz | tar zxvf - && install ghr_v0.13.0_linux_amd64/ghr ~/bin/
- name: dist
run: PATH=~/bin:$PATH make dist
- name: release
run: PATH=~/bin:$PATH make release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}