This commit is contained in:
Darwin Cereska
2025-06-19 17:19:11 -04:00
parent 96b816d96d
commit 1a64242519
2 changed files with 4 additions and 10 deletions

View File

@@ -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