diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 2c81bd5..dd46cfa 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -71,12 +71,14 @@ jobs: uses: ./ with: token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} - version: 1.38.0 + version: v1.101.0-pre.git.f747827eb8e6 - name: Verify installation of correct version run: | VERSION=$(doctl version | head -1 | cut -f3 -d' ' | cut -f1 -d'-') - if [ "$VERSION" != "1.38.0" ]; then exit 1; fi + if [ "$VERSION" != "1.101.0" ]; then exit 1; fi + GIT_SHA=$(doctl version | grep -i 'Git commit' | cut -f2 -d':' | tr -d ' \n') + if [ "$GIT_SHA" != "Git commit hash: f747827e" ]; then exit 1; fi - name: Verify log-in run: doctl compute region list @@ -90,12 +92,14 @@ jobs: uses: ./ with: token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} - version: 1.38.0 + version: v1.101.0-pre.git.f747827eb8e6 - name: Verify installation of correct version run: | $VERSION = (doctl version | head -1 | cut -f3 -d' ' | cut -f1 -d'-') - If (-NOT ($VERSION -eq "1.38.0")) { exit 1 } + If (-NOT ($VERSION -eq "1.101.0")) { exit 1 } + $GIT_SHA = (doctl version | grep -i 'Git commit' | cut -f2 -d':' | tr -d ' \n') + If (-NOT ($GIT_SHA -eq "f747827e")) { exit 1 } - name: Verify log-in run: doctl compute region list