Skip to content

Add pre release version of CD #2

Add pre release version of CD

Add pre release version of CD #2

Workflow file for this run

name: CD
on:
push:
tags:
# - "v[0-9]+.[0-9]+.[0-9]+"
- "*"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build-tdlib:
uses: ./.github/workflows/build-tdlib.yml
release:
runs-on: ubuntu-latest
needs: build-tdlib
steps:
- name: Download artifacts
run: gh run download ${{ needs.build-tdlib.outputs.run-id }}
- name: Zip artifacts
run: find * -maxdepth 0 -type d -execdir zip -q -r -0 '{}.zip' '{}' \;
- name: Create release
run: gh release create ${{ github.ref_name }} --repo FedericoBruzzone/tdlib-rs --generate-notes --prerelease ./*.zip