xtumu's picture
download
raw
1.09 kB
name: release
on:
push:
tags: ["*"]
jobs:
build:
uses: ./.github/workflows/backend.yml
publish:
needs: [build]
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: Check version bump
run: |
TAG=$(git describe --tags --match "[0-9]*.[0-9]*.[0-9]*" --abbrev=8)
VERSION=$(grep project CMakeLists.txt| awk '{print $3}')
if [ "$TAG" != "$VERSION" ]; then
echo "=== Version in CMakeLists.txt and git tag does not match!"
echo "=== Git Tag: $TAG, Version: $VERSION"
exit 1
fi
- uses: actions/download-artifact@v8
- run: |
mkdir build
for file in ttyd.*/*; do
target=$(echo $file | awk -F/ '{print $1}')
[[ $file == *.exe ]] && target="$target.exe"
mv $file build/$target
done
pushd build; sha256sum ttyd.* > SHA256SUMS; popd
- uses: ncipollo/release-action@v1
with:
artifacts: build/*
allowUpdates: true
draft: true

Xet Storage Details

Size:
1.09 kB
·
Xet hash:
3a5331bad52e0137a986320d9c5dcd156b3d3bf0e83e145e2e1feed45935acdf

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.