Skip to content

Files downloaded by cURL gets deleted after the next step #129788

Discussion options

You must be logged in to vote

Each time you use a new run step, it starts in the ${{ github.workspace }} directory - AKA, often the root of where your checkout action clones things.

      # Runs a set of commands using the runners shell
      - name: Sync kernel repo
        run: |
          mkdir android-kernel
          cd android-kernel
          repo init -u https://android.googlesource.com/kernel/manifest -b android14-gs-pixel-6.1
          repo sync -c --no-tags
      - name: Update vendor ramdisk (through curl)
        if: false
        run: |
          cd ..
          ....

For example, it looks to me like with this cd .., you're trying to go back to the original directory after in the previous step, where you …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@fillwithjoy1
Comment options

@joshjohanning
Comment options

Answer selected by fillwithjoy1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD General
2 participants