diff --git a/README.md b/README.md index c9d1a08..331b05d 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ ones, so rsync can run efficiently. ```yaml -- uses: actions/ci-storage@v1 +- uses: dimikot/ci-storage@v1 with: # What to do (store or load). # Required. @@ -82,7 +82,7 @@ jobs: - name: Build run: npm i && npm run build - name: Store build artifacts, work directory and .git directory - uses: actions/ci-storage@v1 + uses: dimikot/ci-storage@v1 with: action: store storage-host: my-hostname.com @@ -109,7 +109,7 @@ jobs: runs-on: [self-hosted] steps: - name: Load build artifacts, work directory and .git directory - uses: actions/ci-storage@v1 + uses: dimikot/ci-storage@v1 with: action: load storage-host: my-hostname.com diff --git a/action.yml b/action.yml index 62aecc9..46a576d 100644 --- a/action.yml +++ b/action.yml @@ -34,7 +34,7 @@ runs: steps: - name: Run ci-storage ${{ inputs.action }} run: > - pwd && ./ci-storage + pwd && "${{ github.action_path }}/ci-storage" --storage-host="${{ inputs.storage-host || '' }}" --storage-dir="${{ inputs.storage-dir || '' }}" --storage-max-age-sec="${{ inputs.storage-max-age-sec || '' }}"