-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add and fix workflows for local manifest update
- Loading branch information
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,13 +13,13 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.PUSH_TOKEN }} | ||
ref: main | ||
- name: Publish winget manifest | ||
run: .\winget\Publish.ps1 -Channel Canary -Version Latest -Output .\winget\ -Submit ${{ secrets.WINGET_TOKEN }} | ||
- name: Update winget manifest | ||
run: | | ||
git config user.name "Johnny Shaw" | ||
git config user.email [email protected] | ||
git checkout main | ||
git add . | ||
git commit -m "update winget manifest" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Update winget canary manifest | ||
|
||
on: | ||
workflow_dispatch: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
winget: | ||
name: Publish winget package | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.PUSH_TOKEN }} | ||
ref: main | ||
- name: Publish winget manifest | ||
run: .\winget\Publish.ps1 -Channel Canary -Version Latest -Output .\winget\ | ||
- name: Update winget manifest | ||
run: | | ||
git config user.name "Johnny Shaw" | ||
git config user.email [email protected] | ||
git add . | ||
git commit -m "update winget manifest" | ||
git push |