forked from wezterm/wezterm
-
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.
ci: tweak winget pr stuff a bit more
- Loading branch information
Showing
2 changed files
with
19 additions
and
20 deletions.
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 |
---|---|---|
|
@@ -52,23 +52,6 @@ jobs: | |
path: | | ||
WezTerm-*.zip | ||
WezTerm-*.exe | ||
- name: "Checkout winget-pkgs" | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: "wez/winget-pkgs" | ||
path: "winget-pkgs" | ||
token: "${{ secrets.GH_PAT }}" | ||
- name: "Create winget manifest and push to fork" | ||
env: | ||
GIT_AUTHOR_EMAIL: [email protected] | ||
GIT_AUTHOR_NAME: Wez Furlong | ||
shell: bash | ||
run: "bash ci/make-winget-pr.sh winget-pkgs WezTerm-*.exe" | ||
- name: "Submit PR" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_PAT }} | ||
shell: bash | ||
run: 'gh pr create --fill --body "PR automatically created by release automation in the wezterm repo"' | ||
upload: | ||
runs-on: ubuntu-latest | ||
|
@@ -94,3 +77,20 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
shell: bash | ||
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) WezTerm-*.zip WezTerm-*.exe *.sha256" | ||
- name: "Checkout winget-pkgs" | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: "wez/winget-pkgs" | ||
path: "winget-pkgs" | ||
token: "${{ secrets.GH_PAT }}" | ||
- name: "Create winget manifest and push to fork" | ||
env: | ||
GIT_AUTHOR_EMAIL: [email protected] | ||
GIT_AUTHOR_NAME: Wez Furlong | ||
shell: bash | ||
run: "bash ci/make-winget-pr.sh winget-pkgs WezTerm-*.exe" | ||
- name: "Submit PR" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_PAT }} | ||
shell: bash | ||
run: 'cd winget-pkgs && gh pr create --fill --body "PR automatically created by release automation in the wezterm repo"' |
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