insights #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_dispatch: | |
env: | |
ARCHIVE_URL: ${{ secrets.ARCHIVE_URL }} | |
jobs: | |
unfollowers: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21 | |
- name: Build | |
run: make build | |
- name: Add build directory to path | |
run: echo "${GITHUB_WORKSPACE}/build" >> $GITHUB_PATH | |
- name: Download Instagram information locally | |
run: instagram information download $ARCHIVE_URL | |
- name: Find out which Instagram users are not following back | |
run: instagram followdata unfollowers | |
- name: Cleanup local Instagram information | |
run: instagram information cleanup |