-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 927 Bytes
/
prerelease.yml
File metadata and controls
37 lines (31 loc) · 927 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
28
29
30
31
32
33
34
35
36
37
---
name: pre-release
on:
push:
branches:
- main
jobs:
pre-release:
name: "Pre Release"
runs-on: "ubuntu-latest"
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install protoc
run: wget https://github.com/protocolbuffers/protobuf/releases/download/v3.20.0/protoc-3.20.0-linux-x86_64.zip &&
unzip protoc-3.20.0-linux-x86_64.zip &&
sudo cp -r include/* /usr/local/include &&
sudo cp bin/protoc /usr/bin/
- name: Build Project
run: cargo build --release
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
automatic_release_tag: "nightly"
title: "Dev Build"
files: |
license
readme.md
target/release/cli
target/release/agent