Skip to content

makefile yml

makefile yml #20

Workflow file for this run

name: Makefile CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: install
run:
sh install_ubuntu.sh
- name: chmod
run:
chmod -R 777 binshell
- name: make release
run:
sh binshell/make_release.sh
- name: tar
run:
tar -czvf skynet_fly-master.tar.gz skynet-fly-release
- name: Debug List current working directory
run: ls -alh
- name: Debug List the release directory
run: ls -alh skynet_fly-master.tar.gz
- name: pwd
run: pwd
release:
runs-on: ubuntu-latest
needs: [build]
steps:
- name: Debug List files in directory after build
run: |
ls -alh
- name: pwd
run: pwd
- name: Debug List the release directory
run: ls -alh skynet_fly-master.tar.gz
- name: Create GitHub Release
uses: softprops/action-gh-release@master
with:
files: /home/runner/work/skynet_fly/skynet_fly/skynet_fly-master.tar.gz
tag_name: master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}