ci: fixed aur checksums and workflows

This commit is contained in:
objz committed 2026-04-27 12:32:31 +02:00
1 parent ec378b0b59
commit 3d8b3deb74
6 files changed
+141 -59

No files matched your search

+10 -1
View File
@@ -16,12 +16,21 @@ jobs:
env:
PLAN: ${{ inputs.plan }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}
steps:
- uses: actions/checkout@v6
with:
ref: ${{ fromJson(inputs.plan).announcement_tag }}
- name: verify Chocolatey publishing secret
shell: bash
run: |
if [ -z "${CHOCOLATEY_API_KEY}" ]; then
echo "::error::CHOCOLATEY_API_KEY is required to publish mcl-launcher to Chocolatey."
exit 1
fi
- name: prepare Chocolatey package
id: package
shell: bash
@@ -50,4 +59,4 @@ jobs:
- name: push Chocolatey package
uses: crazy-max/ghaction-chocolatey@v4
with:
args: push target/chocolatey/out/mcl-launcher.${{ steps.package.outputs.version }}.nupkg --source "https://push.chocolatey.org/" --api-key "${{ secrets.CHOCOLATEY_API_KEY }}"
args: push target/chocolatey/out/mcl-launcher.${{ steps.package.outputs.version }}.nupkg --source "https://push.chocolatey.org/" --api-key "${{ secrets.CHOCOLATEY_API_KEY }}" --timeout 2700