/
githubmirror
/
fwupd
Обзор
Документация
Войти
/
githubmirror
/
fwupd
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/windows.yml
49 строк
1 KB
Thomas Mühlbacher
trivial: ci: remove unused step `id`s
28 июл 2026, 20:56
28 июл 2026, 20:56
751a5b4
Код
Авторство
О чём код?
on: workflow_call: inputs: publish: required: true type: boolean jobs: build: permissions: contents: read runs-on: ubuntu-latest container: image: fedora:44 # zizmor: ignore[unpinned-images] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: configure run: ./contrib/ci/build_windows.sh - name: upload-artifact uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: windows path: | ${{ github.workspace }}/dist/setup/*.msi publish: permissions: contents: write name: Publish Windows binaries runs-on: ubuntu-latest if: ${{ inputs.publish }} needs: build steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 persist-credentials: false - name: Download artifact uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: windows - name: Upload Binaries to Release env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG: ${{ github.ref_name }} run: |- gh release upload "$TAG" fwupd*.msi