Skip to content

Commit

Permalink
Update linux_installer.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bsutton authored Aug 24, 2020
1 parent 6aa26d9 commit bccde4f
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/linux_installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Release executables for Linux

on:
push:
tags:
- '*'

jobs:
build:
Expand All @@ -13,18 +15,12 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: install pub_release
# run: pub global activate pub_release
run: pub global activate --source git [email protected]:bsutton/pub_release.git
- name: Pub dependencies
run: pub get
- name: Compile installer
run:
dart2native bin/dcli_install.dart -o bin/linux/dcli_install
- name: Git email
run: git config --global user.email "[email protected]"
- name: Git name
run: git config --global user.name "bsutton"
- name: Git Commit
run: git commit $GITHUB_WORKSPACE/bin/linux/dcli_install -m 'dart_install for linux' || echo "exec has not changed"
- name: Git Pull
run: git pull
- name: Git Push
run: git push origin || echo "exec has not changed."
- name: Create release
env:
APITOKEN: ${{ secrets.APITOKEN }}
run: git_release --username bsutton --apiToken "$APITOKEN" --owner bsutton --repository dcli --suffix linux-test

0 comments on commit bccde4f

Please sign in to comment.