mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-10 08:57:36 +08:00
Automate desktop builds (#1397)
This commit is contained in:
parent
bf448122a9
commit
a1c996be1e
1 changed files with 20 additions and 0 deletions
20
.github/workflows/deploy.yaml
vendored
20
.github/workflows/deploy.yaml
vendored
|
@ -91,3 +91,23 @@ jobs:
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
|
create_draft_release:
|
||||||
|
if: github.ref_type == 'tag'
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
|
||||||
|
steps:
|
||||||
|
- name: Create draft release
|
||||||
|
run: |
|
||||||
|
gh release create \
|
||||||
|
--repo ${{ github.repository }} \
|
||||||
|
--title ${{ github.ref_name }} \
|
||||||
|
--draft \
|
||||||
|
${{ github.ref_name }}
|
||||||
|
|
||||||
|
- name: Trigger desktop builds
|
||||||
|
run: |
|
||||||
|
gh workflow run -R livebook-dev/livebook_cd build.yml -f ref_name=${{ github.ref_name }}
|
||||||
|
|
Loading…
Reference in a new issue