Skip to content

Commit

Permalink
chore: update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
innobead committed Dec 11, 2022
1 parent 1b62fc4 commit 23435a1
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 43 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:

jobs:
build-linux-x86_64:
name: Build for Linux x86_64
runs-on: ubuntu-latest
name: Build - linux x86_64
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -22,8 +22,8 @@ jobs:
run: make build

build-macos:
name: Build for MacOS
runs-on: macos-latest
name: Build - macos
runs-on: macos-12
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -42,8 +42,8 @@ jobs:
make build
build-windows:
name: Build for Windows
runs-on: windows-latest
name: Build - windows
runs-on: windows-2022
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
46 changes: 23 additions & 23 deletions .github/workflows/buildx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:

jobs:
build-linux-aarch64:
name: Build for Linux AArch64
runs-on: ubuntu-latest
name: Build - linux aarch64
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -27,24 +27,24 @@ jobs:
- name: Setup, Test, Build
run: make build-multiarch

# build-linux-armv7:
# name: Build for Linux ARMv7
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
#
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v1
#
# - name: Set up Docker Buildx
# id: buildx
# uses: docker/setup-buildx-action@v1
# with:
# version: latest
#
# - name: Available platforms
# run: echo ${{ steps.buildx.outputs.platforms }}
#
# - name: Setup, Test, Build
# run: PLATFORMS=linux/arm/v7 make build-multiarch
build-linux-armv7:
name: Build - linux armv7
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
with:
version: latest

- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}

- name: Setup, Test, Build
run: PLATFORMS=linux/arm/v7 make build-multiarch
6 changes: 3 additions & 3 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build for PR/Push
name: PR/Push

on:
workflow_dispatch:
Expand All @@ -10,8 +10,8 @@ on:

jobs:
build-linux-x86_64:
name: Build for Linux x86_64
runs-on: ubuntu-latest
name: Build - linux x86_64
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
create-github-release:
name: Create github release
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: [ ]
steps:
- name: Checkout code
Expand All @@ -31,8 +31,8 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

release-linux-x86_64:
name: Release for linux x86_64
runs-on: ubuntu-latest
name: Release - linux x86_64
runs-on: ubuntu-20.04
needs: create-github-release
steps:
- name: Checkout code
Expand All @@ -54,8 +54,8 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

release-linux-aarch64:
name: Release for Linux AArch64
runs-on: ubuntu-latest
name: Release - linux aarch64
runs-on: ubuntu-20.04
needs:
- create-github-release
steps:
Expand Down Expand Up @@ -86,8 +86,8 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

# release-linux-armv7:
# name: Rlease for Linux ARMv7
# runs-on: ubuntu-latest
# name: relase - linux armv7
# runs-on: ubuntu-20.04
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
Expand All @@ -108,8 +108,8 @@ jobs:
# run: PLATFORMS=linux/arm/v7 make release-multiarch

release-macos:
name: Release for MacOS
runs-on: macos-latest
name: Release - macos
runs-on: macos-12
needs:
- create-github-release
steps:
Expand All @@ -133,8 +133,8 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

release-windows:
name: Release for Windows
runs-on: windows-latest
name: Release - windows
runs-on: windows-2022
needs:
- create-github-release
steps:
Expand Down

0 comments on commit 23435a1

Please sign in to comment.