fix: install make (#260)

This commit is contained in:
Yue Yang 2024-03-25 14:25:45 +08:00 committed by GitHub
parent 62d1ceb50f
commit ddcd31e68e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 40 additions and 8 deletions

26
.github/workflows/ci_skip.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: ci
on:
pull_request:
branches:
- main
- release-*
paths-ignore:
- .github/workflows/ci.yml
- Makefile
- go.*
- "**.go"
jobs:
pull:
strategy:
matrix:
arch: [amd64, arm64]
job:
- verify
- build
- unit-test
- integration-test
runs-on: ${{ fromJson('{"amd64":"ubuntu-latest", "arm64":["self-hosted", "Linux", "ARM64"]}')[matrix.arch] }}
steps:
- run: echo "Not required to run pull jobs."

View File

@ -21,15 +21,18 @@ jobs:
with:
go-version: 1.20.x
- name: Configure awscli
- name: Prepare tools
run: |
dnf install -y python3
pip3 install awscli
printf "%s\n" ${{ secrets.AWS_ACCESS_KEY }} ${{ secrets.AWS_SECRET_KEY }} ${{ secrets.AWS_REGION }} "json" | aws configure
dnf install -y make python3
- name: Build binary and related tools
run: make build
- name: Configure awscli
run: |
pip3 install awscli
printf "%s\n" ${{ secrets.AWS_ACCESS_KEY }} ${{ secrets.AWS_SECRET_KEY }} ${{ secrets.AWS_REGION }} "json" | aws configure
# TODO: release on github package / release
- name: Upload files
run: |

View File

@ -20,15 +20,18 @@ jobs:
with:
go-version: 1.20.x
- name: Configure awscli
- name: Prepare tools
run: |
dnf install -y python3
pip3 install awscli
printf "%s\n" ${{ secrets.AWS_ACCESS_KEY }} ${{ secrets.AWS_SECRET_KEY }} ${{ secrets.AWS_REGION }} "json" | aws configure
dnf install -y make python3
- name: Build binary and related tools
run: make build
- name: Configure awscli
run: |
pip3 install awscli
printf "%s\n" ${{ secrets.AWS_ACCESS_KEY }} ${{ secrets.AWS_SECRET_KEY }} ${{ secrets.AWS_REGION }} "json" | aws configure
- name: Upload files
run: |
GIT_TAG=${GITHUB_REF##*/}