Merge remote-tracking branch 'origin/main' into hillclimb
This commit is contained in:
commit
bfc0e58319
|
|
@ -3,6 +3,7 @@ name: Cross-platform builds
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
tags: ['v*']
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
|
@ -61,3 +62,32 @@ jobs:
|
||||||
path: zdxc-${{ matrix.name }}.tar.gz
|
path: zdxc-${{ matrix.name }}.tar.gz
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
retention-days: 14
|
retention-days: 14
|
||||||
|
|
||||||
|
release:
|
||||||
|
name: Publish release binaries
|
||||||
|
needs: build
|
||||||
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
timeout-minutes: 10
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
steps:
|
||||||
|
- name: Download all platform bundles
|
||||||
|
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
||||||
|
with:
|
||||||
|
pattern: zdxc-*
|
||||||
|
path: artifacts
|
||||||
|
merge-multiple: true
|
||||||
|
|
||||||
|
- name: Create or update GitHub Release
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
GH_REPO: ${{ github.repository }}
|
||||||
|
TAG: ${{ github.ref_name }}
|
||||||
|
run: |
|
||||||
|
if gh release view "$TAG" >/dev/null 2>&1; then
|
||||||
|
gh release upload "$TAG" artifacts/*.tar.gz --clobber
|
||||||
|
else
|
||||||
|
gh release create "$TAG" artifacts/*.tar.gz \
|
||||||
|
--verify-tag --title "zdxc $TAG" --generate-notes
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
|
<a href="https://zdxc.org">zdxc.org</a> ·
|
||||||
<a href="#quick-start">Quick start</a> ·
|
<a href="#quick-start">Quick start</a> ·
|
||||||
<a href="docs/dropin.md">DXC drop-in</a> ·
|
<a href="docs/dropin.md">DXC drop-in</a> ·
|
||||||
<a href="docs/c-api.md">C API</a> ·
|
<a href="docs/c-api.md">C API</a> ·
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue