ci: fix winget & stale workflows [skip ci]

This commit is contained in:
Baptiste Augrain 2022-10-07 21:24:10 +02:00
parent bba3e74815
commit ce4af41a4a
4 changed files with 3 additions and 3 deletions

View File

@ -128,7 +128,6 @@ jobs:
aur_private_key: ${{ secrets.AUR_PRIVATE_KEY }}
aur_username: ${{ secrets.AUR_USERNAME }}
aur_email: ${{ secrets.AUR_EMAIL }}
if: ${{ false }}
- name: Publish vscodium-git
uses: zokugun/github-actions-aur-releaser@v1

View File

@ -132,7 +132,7 @@ jobs:
RELEASE_VERSION: ${{ needs.build.outputs.RELEASE_VERSION }}
- name: Release to WinGet
uses: daiyam/winget-releaser@insider
uses: vedantmgoyal2009/winget-releaser@latest
with:
identifier: ${{ env.APP_IDENTIFIER }}
version: ${{ env.RELEASE_VERSION }}

View File

@ -16,6 +16,7 @@ jobs:
days-before-stale: 180
days-before-close: 30
stale-issue-label: stale
operations-per-run: 1024
stale-issue-message: >
This issue has been automatically marked as stale. **If this issue is still affecting you, please leave any comment**, and we'll keep it open. If you have any new additional information, please include it with your comment!
close-issue-message: >

View File

@ -8,7 +8,7 @@ if [[ "${VSCODE_QUALITY}" == "insider" ]]; then
RELEASE_VERSION="${RELEASE_VERSION/\-insider/}"
fi
WINGET_VERSION=$( echo "${VERSIONS}" | jq -r 'map(.name) | last' )
WINGET_VERSION=$( echo "${VERSIONS}" | jq -r 'map(select(.name | startswith("1."))) | map(.name) | last' )
echo "RELEASE_VERSION=\"${RELEASE_VERSION}\""
echo "WINGET_VERSION=\"${WINGET_VERSION}\""