Skip to content

Command not working as expected #26188

Answered by weide-zhou
blaketeres asked this question in Actions
Discussion options

You must be logged in to vote

Hi @blaketeres ,

You can add ‘exit 0’ at the end of the ag command, it works on my side. Code sample as below:

steps:
      - name: Install Silver Searcher
        run: |
          sudo apt-get install silversearcher-ag
      - name: Make test search file
        run: echo "hello world" > test_search.txt
  - name: Run Silver Searcher on howto's
    run: |
      ag "hello" & exit 0

Thanks.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants