mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-16 07:26:35 +00:00
Update checkout and setup-go actions (#531)
This commit is contained in:
6
.github/workflows/generate_api_pages.yml
vendored
6
.github/workflows/generate_api_pages.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
input_string: ${{ github.event.inputs.tag }}
|
input_string: ${{ github.event.inputs.tag }}
|
||||||
version_extractor_regex: '\/v(.*)$'
|
version_extractor_regex: '\/v(.*)$'
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.DEV_GITHUB_TOKEN }}
|
token: ${{ secrets.DEV_GITHUB_TOKEN }}
|
||||||
|
|
||||||
@@ -30,9 +30,9 @@ jobs:
|
|||||||
run: curl -L -o generator/openapi/openapi.yml "https://raw.githubusercontent.com/netbirdio/netbird/v${{ steps.semver_parser.outputs.fullversion }}/shared/management/http/api/openapi.yml"
|
run: curl -L -o generator/openapi/openapi.yml "https://raw.githubusercontent.com/netbirdio/netbird/v${{ steps.semver_parser.outputs.fullversion }}/shared/management/http/api/openapi.yml"
|
||||||
|
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: '1.21.1'
|
go-version: '1.25'
|
||||||
|
|
||||||
- name: Build Go project
|
- name: Build Go project
|
||||||
run: (cd ./generator && go build -o expandOpenAPIRef)
|
run: (cd ./generator && go build -o expandOpenAPIRef)
|
||||||
|
|||||||
Reference in New Issue
Block a user