ci:
This commit is contained in:
parent
3d9e137c5a
commit
f6b1adccc6
@ -8,11 +8,6 @@ jobs:
|
|||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Go Environment
|
|
||||||
uses: actions/setup-go@v3
|
|
||||||
with:
|
|
||||||
go-version: '1.20'
|
|
||||||
|
|
||||||
- name: Get Dependencies Index Hash
|
- name: Get Dependencies Index Hash
|
||||||
uses: https://github.com/KEINOS/gh-action-hash-for-cache@main
|
uses: https://github.com/KEINOS/gh-action-hash-for-cache@main
|
||||||
id: hash-dependencies-index
|
id: hash-dependencies-index
|
||||||
@ -37,7 +32,8 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
|
|
||||||
- id: tag
|
- name: Get Commit Tag
|
||||||
|
id: tag
|
||||||
uses: https://github.com/Maxyme/get-release-or-tag@v2
|
uses: https://github.com/Maxyme/get-release-or-tag@v2
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
@ -58,7 +54,8 @@ jobs:
|
|||||||
IMAGE_NAME: ${{ github.repository }}
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- id: tag
|
- name: Get Commit Tag
|
||||||
|
id: tag
|
||||||
uses: https://github.com/Maxyme/get-release-or-tag@v2
|
uses: https://github.com/Maxyme/get-release-or-tag@v2
|
||||||
|
|
||||||
- id: restore-executable-binary
|
- id: restore-executable-binary
|
||||||
@ -68,9 +65,18 @@ jobs:
|
|||||||
path: ./network-monitor
|
path: ./network-monitor
|
||||||
key: ${{ runner.os }}-release-${{ steps.tag.outputs.tag }}
|
key: ${{ runner.os }}-release-${{ steps.tag.outputs.tag }}
|
||||||
- if: ${{ steps.restore-executable-binary.outputs.cache-hit != 'true' }}
|
- if: ${{ steps.restore-executable-binary.outputs.cache-hit != 'true' }}
|
||||||
name: List the state of node modules
|
name: Check if binary exists
|
||||||
run: echo "missing program"
|
run: echo "missing program"
|
||||||
|
|
||||||
|
-
|
||||||
|
# Add support for more platforms with QEMU (optional)
|
||||||
|
# https://github.com/docker/setup-qemu-action
|
||||||
|
name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v2
|
||||||
|
-
|
||||||
|
name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
uses: https://github.com/docker/login-action@v2
|
uses: https://github.com/docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user