Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 9 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -584,22 +584,15 @@ jobs:
with:
path: artifacts

- name: Delete old latest release
run: gh release delete latest --yes --cleanup-tag 2>/dev/null || true
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}

- name: Create latest release
run: |
gh release create latest \
--title "Latest Build" \
--notes "Automated release from ${GITHUB_REF_NAME} branch. Download native binaries and target SDKs below." \
--latest \
artifacts/**/*.tar.gz
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
- name: Publish latest release
uses: softprops/action-gh-release@v2
with:
tag_name: latest
name: Latest Build
body: Automated release from main branch. Download native binaries and target SDKs below.
files: artifacts/**/*.tar.gz
make_latest: "true"
target_commitish: ${{ github.sha }}

tagged-release:
needs: [build-linux-glibc, build-macos, test-artifact]
Expand Down
Loading