Skip to content

Commit

Permalink
fix: install make (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
g1eny0ung authored Mar 25, 2024
1 parent 62d1ceb commit ddcd31e
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 8 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci_skip.yml
Original file line number Diff line number Diff line change
@@ -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."
11 changes: 7 additions & 4 deletions .github/workflows/release_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/release_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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##*/}
Expand Down

0 comments on commit ddcd31e

Please sign in to comment.