diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0969cb1ef..a64f98b40 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,7 +66,7 @@ jobs: id: build run: | make _build_snap && \ - find doctl_v*.snap -print -exec echo ::set-output name=snap::{} \; + find doctl_v*.snap -exec echo "snap={}" >> "$GITHUB_OUTPUT" \; - uses: snapcore/action-publish@master env: diff --git a/.github/workflows/snapcraft-candidate.yml b/.github/workflows/snapcraft-candidate.yml index d5e67da54..fc1f3e4e9 100644 --- a/.github/workflows/snapcraft-candidate.yml +++ b/.github/workflows/snapcraft-candidate.yml @@ -26,7 +26,7 @@ jobs: id: build run: | make _build_snap && \ - find doctl_v*.snap -print -exec echo ::set-output name=snap::{} \; + find doctl_v*.snap -exec echo "snap={}" >> "$GITHUB_OUTPUT" \; - uses: snapcore/action-publish@master env: