-
-
Notifications
You must be signed in to change notification settings - Fork 29
36 lines (29 loc) · 981 Bytes
/
linux_installer.yml
File metadata and controls
36 lines (29 loc) · 981 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
name: Release executables for Linux
on:
workflow_dispatch:
# tags:
# - '*'
jobs:
build:
runs-on: ubuntu-latest
container:
image: google/dart:latest
steps:
- uses: actions/checkout@v2
- name: setup paths
run: export PATH="${PATH}":/usr/lib/dart/bin:"${HOME}/.pub-cache/bin":"${HOME}/.dcli/bin"
- name: create working dir
run: mkdir ../pub_release
- name: clone pub_release
run: git clone https://github.com/bsutton/pub_release.git
working-directory: ..
- name: pub get for pub_release
run: dart pub get
working-directory: ../pub_release
# working-directory: ../pub_release
- name: Pub dependencies
run: dart pub get
- name: Create release
env:
APITOKEN: ${{ secrets.APITOKEN }}
run: dart ../pub_release/bin/github_workflow_release.dart --username bsutton --apiToken "$APITOKEN" --owner bsutton --repository dcli --suffix linux