-
-
Notifications
You must be signed in to change notification settings - Fork 5
41 lines (41 loc) · 1.22 KB
/
unfollowing.yml
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
37
38
39
40
41
name: unfollowing my unfollowers
on:
#
push:
branches: [ main ]
workflow_dispatch:
schedule:
#- cron: '*/10 * * * *'
- cron: '59 12 * * 5'
#defaults:
# run:
# working-directory: wrdir
jobs:
#deploy:
# runs-on: windows-latest
# steps:
# - name: install readline
# run: python -m pip install readline
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest] #,windows-latest
python-version: [3.9]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{matrix.python-version}}
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python-version}}
# Optional - x64 or x86 architecture, defaults to x64
architecture: 'x64'
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: pip Upgrade
run: python -m pip install --upgrade pip
- name: Install requirements
run: pip install -r requirements.txt
- name: unfollowing my unfollowers
run: python unfollowing_my_unfollowers.py -m ${{ github.actor }} -t ${{ secrets.MY_FOLLOWERS }}