|
@@ -8,13 +8,13 @@ on:
|
|
|
jobs:
|
|
jobs:
|
|
|
binaries:
|
|
binaries:
|
|
|
name: Binaries
|
|
name: Binaries
|
|
|
- uses: ./.github/workflows/build_binaries.yml
|
|
|
|
|
|
|
+ uses: ./.github/workflows/build_binaries.yml # zizmor: ignore[self-repository]
|
|
|
debian-packages:
|
|
debian-packages:
|
|
|
name: Debian Packages
|
|
name: Debian Packages
|
|
|
- uses: ./.github/workflows/debian_packages.yml
|
|
|
|
|
|
|
+ uses: ./.github/workflows/debian_packages.yml # zizmor: ignore[self-repository]
|
|
|
rpm-packages:
|
|
rpm-packages:
|
|
|
name: RPM Packages
|
|
name: RPM Packages
|
|
|
- uses: ./.github/workflows/rpm_packages.yml
|
|
|
|
|
|
|
+ uses: ./.github/workflows/rpm_packages.yml # zizmor: ignore[self-repository]
|
|
|
draft-release:
|
|
draft-release:
|
|
|
name: Draft Release
|
|
name: Draft Release
|
|
|
if: github.repository_owner == 'miniflux'
|
|
if: github.repository_owner == 'miniflux'
|
|
@@ -23,6 +23,10 @@ jobs:
|
|
|
permissions:
|
|
permissions:
|
|
|
contents: write
|
|
contents: write
|
|
|
steps:
|
|
steps:
|
|
|
|
|
+ - name: Checkout
|
|
|
|
|
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
|
+ with:
|
|
|
|
|
+ persist-credentials: false
|
|
|
- name: Download artifacts
|
|
- name: Download artifacts
|
|
|
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
|
with:
|
|
with:
|
|
@@ -39,5 +43,5 @@ jobs:
|
|
|
if [ "$(gh release view "$TAG" --json isDraft --jq .isDraft 2>/dev/null)" = "true" ]; then
|
|
if [ "$(gh release view "$TAG" --json isDraft --jq .isDraft 2>/dev/null)" = "true" ]; then
|
|
|
gh release upload "$TAG" dist/* --clobber
|
|
gh release upload "$TAG" dist/* --clobber
|
|
|
else
|
|
else
|
|
|
- gh release create "$TAG" dist/* --draft --verify-tag --title "Miniflux $TAG" --notes ""
|
|
|
|
|
|
|
+ gh release create "$TAG" dist/* --draft --verify-tag --title "Miniflux $TAG" --notes-from-tag
|
|
|
fi
|
|
fi
|