Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix macos version/runner #592

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
upload_url: ${{ steps.release_info.outputs.upload_url }}

steps:
- uses: actions/checkout@v2

Check failure on line 38 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/release.yml#L38

the runner of "actions/checkout@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]
Raw output
.github/workflows/release.yml:38:15: the runner of "actions/checkout@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]

- name: Get current version
id: current_version
run: |

Check failure on line 42 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/release.yml#L42

workflow command "set-output" was deprecated. use `echo "{name}={value}" >> $GITHUB_OUTPUT` instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions [deprecated-commands]
Raw output
.github/workflows/release.yml:42:14: workflow command "set-output" was deprecated. use `echo "{name}={value}" >> $GITHUB_OUTPUT` instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions [deprecated-commands]
git fetch --all --tags
tag="$(git describe --tags --exact-match)"
echo "::set-output name=version::${tag#v}"
Expand All @@ -47,7 +47,7 @@

- name: Get release info
id: release_info
run: |

Check failure on line 50 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/release.yml#L50

workflow command "set-output" was deprecated. use `echo "{name}={value}" >> $GITHUB_OUTPUT` instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions [deprecated-commands]
Raw output
.github/workflows/release.yml:50:14: workflow command "set-output" was deprecated. use `echo "{name}={value}" >> $GITHUB_OUTPUT` instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions [deprecated-commands]

Check failure on line 50 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/release.yml#L50

workflow command "set-output" was deprecated. use `echo "{name}={value}" >> $GITHUB_OUTPUT` instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions [deprecated-commands]
Raw output
.github/workflows/release.yml:50:14: workflow command "set-output" was deprecated. use `echo "{name}={value}" >> $GITHUB_OUTPUT` instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions [deprecated-commands]

Check failure on line 50 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/release.yml#L50

workflow command "set-output" was deprecated. use `echo "{name}={value}" >> $GITHUB_OUTPUT` instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions [deprecated-commands]
Raw output
.github/workflows/release.yml:50:14: workflow command "set-output" was deprecated. use `echo "{name}={value}" >> $GITHUB_OUTPUT` instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions [deprecated-commands]

Check failure on line 50 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/release.yml#L50

workflow command "set-output" was deprecated. use `echo "{name}={value}" >> $GITHUB_OUTPUT` instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions [deprecated-commands]
Raw output
.github/workflows/release.yml:50:14: workflow command "set-output" was deprecated. use `echo "{name}={value}" >> $GITHUB_OUTPUT` instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions [deprecated-commands]
release_info="$(curl -s https://api.github.com/repos/${{ github.repository }}/releases \
| jq '.[] | select(.tag_name == "v${{ steps.current_version.outputs.version }}")')"
echo "::set-output name=release_info::$release_info"
Expand Down Expand Up @@ -89,7 +89,7 @@
fi
if [[ -z "$asset_macos_tgz_url" ]]; then
# bin, service file and deploy script are not considered for macos job
included+=("macos-11|-||-|-|-|.macos.tar.gz")
included+=("macos-14|-||-|-|-|.macos.tar.gz")
fi

matrix_os="$(jq -ncR '
Expand Down Expand Up @@ -134,7 +134,7 @@
go-version: ^1.20

- name: Check out code into the Go module directory
uses: actions/checkout@v2

Check failure on line 137 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/release.yml#L137

the runner of "actions/checkout@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]
Raw output
.github/workflows/release.yml:137:15: the runner of "actions/checkout@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]

- uses: actions/cache@v3
with:
Expand Down Expand Up @@ -184,7 +184,7 @@

- name: get GOBIN
id: get_gobin
run: |

Check failure on line 187 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/release.yml#L187

workflow command "set-output" was deprecated. use `echo "{name}={value}" >> $GITHUB_OUTPUT` instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions [deprecated-commands]
Raw output
.github/workflows/release.yml:187:14: workflow command "set-output" was deprecated. use `echo "{name}={value}" >> $GITHUB_OUTPUT` instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions [deprecated-commands]
GOPATH=${GOPATH:-${HOME}/go}
GOBIN=${GOBIN:-${GOPATH}/bin}
echo "$GOBIN"
Expand Down
Loading