Skip to content

Commit

Permalink
ci(msix): winget release no working
Browse files Browse the repository at this point in the history
  • Loading branch information
eythaann committed Aug 14, 2024
1 parent b99bcba commit 5da109f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/msix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,23 @@ jobs:
needs: upload-store-msix-to-release
runs-on: windows-latest
steps:
- name: Get Latest Release
id: get-version
uses: actions/github-script@v6
with:
script: |-
const { owner, repo } = context.repo;
const latestRelease = await github.rest.repos.getLatestRelease({ owner, repo });
const tag = latestRelease.data.tag_name;
const version = tag.replace("v", "") + ".0";
core.setOutput('version', version);
core.setOutput('release-tag', tag);
console.log("Release tag: ", tag, " Version: ", version);
- uses: vedantmgoyal9/winget-releaser@main
with:
identifier: Seelen.SeelenUI
version: ${{ steps.get-version.outputs.version }}
release-tag: ${{ steps.get-version.outputs.release-tag }}
installers-regex: '\.msix$'
token: ${{ secrets.WORKFLOWS_TOKEN }}

0 comments on commit 5da109f

Please sign in to comment.