diff --git a/.github/workflows/bump-ttymer.yml b/.github/workflows/bump-ttymer.yml index 5c45010..30a3dca 100644 --- a/.github/workflows/bump-ttymer.yml +++ b/.github/workflows/bump-ttymer.yml @@ -17,16 +17,13 @@ jobs: id: fetch uses: actions/github-script@v6 with: - result-encoding: json script: | const release = await github.rest.repos.getLatestRelease({ owner: 'darwincereska', repo: 'ttymer' }); - return { - version: release.data.tag_name, - url: release.data.tarball_url - }; + core.setOutput("version", release.data.tag_name); + core.setOutput("url", release.data.tarball_url); - name: Download tarball and compute SHA256 id: compute diff --git a/.github/workflows/bump-xswitcher.yml b/.github/workflows/bump-xswitcher.yml index 0740ffa..c254862 100644 --- a/.github/workflows/bump-xswitcher.yml +++ b/.github/workflows/bump-xswitcher.yml @@ -17,16 +17,13 @@ jobs: id: fetch uses: actions/github-script@v6 with: - result-encoding: json script: | const release = await github.rest.repos.getLatestRelease({ owner: 'darwincereska', repo: 'xswitcher' }); - return { - version: release.data.tag_name, - url: release.data.tarball_url - }; + core.setOutput("version", release.data.tag_name); + core.setOutput("url", release.data.tarball_url); - name: Download tarball and compute SHA256 id: compute