diff --git a/.github/workflows/use-action.yaml b/.github/workflows/use-action.yaml index 35244c7..8c302d1 100644 --- a/.github/workflows/use-action.yaml +++ b/.github/workflows/use-action.yaml @@ -9,7 +9,7 @@ jobs: name: Use Action strategy: matrix: - platform: [ubuntu-latest] + platform: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.platform }} steps: diff --git a/action.yml b/action.yml index 8b813c5..dc94b38 100644 --- a/action.yml +++ b/action.yml @@ -25,6 +25,8 @@ runs: go get github.com/google/go-containerregistry/cmd/crane@main ;; latest-release) + jq --version + curl -s https://api.github.com/repos/google/go-containerregistry/releases/latest tag=$(curl -s https://api.github.com/repos/google/go-containerregistry/releases/latest | jq -r '.tag_name') ;; *)