forked from llvm-mos/llvm-mos-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (27 loc) · 851 Bytes
/
draft-release.yml
File metadata and controls
27 lines (27 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Draft Release
concurrency: draft-release
on:
workflow_dispatch:
inputs:
version:
description: "Version number"
required: true
type: string
jobs:
draft:
runs-on: ubuntu-latest
steps:
- name: Fetch the latest llvm-mos-sdk prerelease.
run: |
curl -ZLO "https://github.com/llvm-mos/llvm-mos-sdk/releases/download/prerelease/{llvm-mos-linux.tar.xz,llvm-mos-macos.tar.xz,llvm-mos-windows.7z}"
- name: Draft the SDK release.
uses: softprops/action-gh-release@v1
with:
name: SDK v${{github.event.inputs.version}}
body: "TODO: Write description."
tag_name: v${{github.event.inputs.version}}
files: |
llvm-mos-linux.tar.xz
llvm-mos-windows.7z
llvm-mos-macos.tar.xz
draft: true