Skip to content

Update build-manual.yml #3

Update build-manual.yml

Update build-manual.yml #3

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: update
run: sudo apt update
- name: upgrade
run: sudo apt upgrade -y
- name: clean
run: sudo apt clean
- name: install_dependencies
run: sudo apt install git wget nano gh tmate build-essential make m4 libcurl4-openssl-dev libjansson-dev automake autoconf libtool autotools-dev cmake zlib1g-dev openssl libssl-dev -y
- name: clone_gitsource
run: cd && git clone https://github.com/wong-fi-hung/termux-miner && cd termux-miner
- name: generate_configure_script
run: autoreconf -i
- name: configuring
run: ./configure --with-crypto --with-curl
- name: Make
run: make -j4
- name: strip
run: strip -s cpuminer
- name: mktargz
run: mkdir termux-miner-v3.0.0; cp cpuminer cpuminer-conf.json termux-miner-v3.0.0; tar -Jcvf termux-miner-v3.0.0_amd64.tar.xz termux-miner-v3.0.0
- name: run_gh
run: gh release upload v3.0.0 termux-miner-v3.0.0_amd64.tar.xz
env:

Check failure on line 38 in .github/workflows/build-manual.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-manual.yml

Invalid workflow file

You have an error in your yaml syntax on line 38
GITHUB_TOKEN: ${{ github.TOKEN }}
shell: bash
name: Creates a release in GitHub and uploads attachments