mirror of
https://github.com/dcarbone/install-jq-action.git
synced 2026-02-12 02:56:56 +08:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1090b8bd11 | ||
|
|
ff922c75b7 | ||
|
|
7f4d6f4833 | ||
|
|
bfb9fa8e7d | ||
|
|
c1548c666d |
2
.github/workflows/example-linux.yaml
vendored
2
.github/workflows/example-linux.yaml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Setup jq'
|
||||
uses: dcarbone/install-jq-action@v2.0.0
|
||||
uses: dcarbone/install-jq-action@v2
|
||||
with:
|
||||
version: '${{ inputs.version }}'
|
||||
force: '${{ inputs.force }}'
|
||||
|
||||
2
.github/workflows/example-macos.yaml
vendored
2
.github/workflows/example-macos.yaml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- name: 'Setup jq'
|
||||
uses: dcarbone/install-jq-action@v2.0.0
|
||||
uses: dcarbone/install-jq-action@v2
|
||||
with:
|
||||
version: '${{ inputs.version }}'
|
||||
force: '${{ inputs.force }}'
|
||||
|
||||
2
.github/workflows/example-windows.yaml
vendored
2
.github/workflows/example-windows.yaml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: 'Setup jq'
|
||||
uses: dcarbone/install-jq-action@v2.0.0
|
||||
uses: dcarbone/install-jq-action@v2
|
||||
with:
|
||||
version: '${{ inputs.version }}'
|
||||
force: '${{ inputs.force }}'
|
||||
|
||||
2
.github/workflows/tests.yaml
vendored
2
.github/workflows/tests.yaml
vendored
@@ -44,7 +44,7 @@ jobs:
|
||||
|
||||
- name: Setup jq
|
||||
id: install-jq
|
||||
uses: dcarbone/install-jq-action@main
|
||||
uses: ./
|
||||
with:
|
||||
version: '${{ matrix.version }}'
|
||||
force: '${{ matrix.force }}'
|
||||
|
||||
@@ -23,7 +23,7 @@ case $RUNNER_OS in
|
||||
_os='linux'
|
||||
;;
|
||||
macOS)
|
||||
_os='osx'
|
||||
_os='macos'
|
||||
;;
|
||||
|
||||
*)
|
||||
@@ -73,7 +73,7 @@ echo '::group::Downloading jq'
|
||||
echo "Src: ${_dl_url}"
|
||||
echo "Dst: ${_dl_path}"
|
||||
|
||||
wget -O- "${_dl_url}" > "${_dl_path}"
|
||||
curl -L "${_dl_url}" -o "${_dl_path}"
|
||||
|
||||
echo '::endgroup::'
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ echo '::group::Downloading jq'
|
||||
echo "Src: ${_dl_url}"
|
||||
echo "Dst: ${_dl_path}"
|
||||
|
||||
wget -O- "${_dl_url}" > "${_dl_path}"
|
||||
curl -L "${_dl_url}" -o "${_dl_path}"
|
||||
|
||||
echo '::endgroup::'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user