diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ab9529d..acbd5ec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,8 @@ -on: [push] - +on: + push: + branches: + - 'test/*' + - '!master' jobs: test_job: runs-on: ubuntu-latest diff --git a/entrypoint.sh b/entrypoint.sh index dd35049..5dd0bc0 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -13,7 +13,7 @@ check_credentials() { copy_credential() { echo "Copy credentials" - mkdir -p .pub-cache + mkdir -p ~/.pub-cache cat < ~/.pub-cache/credentials.json $INPUT_CREDENTIAL EOF