refactor(amazonlinux): share next gen pkg search logics #40
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- v* | |
permissions: | |
contents: write | |
packages: write | |
jobs: | |
release-cross: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v2 | |
with: | |
submodules: 'true' | |
- run: git fetch --prune --unshallow | |
- name: Set up Go and dependencies | |
uses: actions/setup-go@v2 | |
- name: Setup release environment | |
run: |- | |
echo 'GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}' > .release-env | |
- name: Publish release | |
run: make release | |