-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 1021 Bytes
/
build-gitlogue.yml
File metadata and controls
38 lines (32 loc) · 1021 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
38
name: Build Gitlogue
on:
workflow_dispatch:
inputs:
branch:
description: 'gitlogue branch'
required: true
default: 'v0.6.0'
jobs:
build-artifacts:
if: github.repository_owner == github.actor
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Clone Gitlogue
env:
BRANCH: ${{ github.event.inputs.branch }}
run: |
git clone -b $BRANCH https://github.com/unhappychoice/gitlogue.git
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-gnu
- name: Build
run: cd gitlogue && cargo build --release --target x86_64-unknown-linux-gnu
env:
OPENSSL_VENDORED: 1
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: gitlogue-${{ github.event.inputs.branch }}-x86_64-unknown-linux-gnu
path: gitlogue/gitlogue