From 1a6424251956fcfcefb8ce5a359f0b284cf1d665 Mon Sep 17 00:00:00 2001 From: Darwin Cereska Date: Thu, 19 Jun 2025 17:19:11 -0400 Subject: [PATCH] fix --- .github/workflows/bump-ttymer.yml | 7 ++----- .github/workflows/bump-xswitcher.yml | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) 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