├── output.json └── .github └── workflows └── blank.yml /output.json: -------------------------------------------------------------------------------- 1 | { 2 | "https://www.hahwul.com": [ 3 | "https://instagram.com/hahwul_", 4 | "https://www.hahwul.com/about", 5 | "https://www.hahwul.com/articles", 6 | "https://www.hahwul.com/page/2", 7 | "https://www.hahwul.com/uses" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /.github/workflows/blank.yml: -------------------------------------------------------------------------------- 1 | # This is a basic workflow to help you get started with Actions 2 | 3 | name: CI 4 | 5 | # Controls when the workflow will run 6 | on: 7 | workflow_dispatch: 8 | 9 | # A workflow run is made up of one or more jobs that can run sequentially or in parallel 10 | jobs: 11 | # This workflow contains a single job called "build" 12 | build: 13 | # The type of runner that the job will run on 14 | runs-on: ubuntu-latest 15 | 16 | # Steps represent a sequence of tasks that will be executed as part of the job 17 | steps: 18 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 19 | - uses: actions/checkout@v4 20 | 21 | # Runs a single command using the runners shell 22 | - name: Run a one-line script 23 | run: echo Hello, world! 24 | 25 | # Runs a set of commands using the runners shell 26 | - name: Run a multi-line script 27 | id: abcd 28 | run: | 29 | out=$(cat output.json) 30 | encoded_output=$(echo "$out" | jq -c . | tr -d '^J') 31 | echo "output=$encoded_output" >> $GITHUB_OUTPUT 32 | 33 | - name: Test 34 | run: | 35 | echo ${{steps.abcd.outputs.output}} --------------------------------------------------------------------------------