Skip to content

Commit

Permalink
pre-release: Testing custom version against forked pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
trinitronx committed Oct 23, 2023
1 parent cef652a commit cefe799
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,13 @@ 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-release" ]; then exit 1; fi
if [ "$VERSION" != "Git commit hash: f747827e" ]; then exit 1; fi
- name: Verify log-in
run: doctl compute region list
Expand All @@ -90,12 +91,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

0 comments on commit cefe799

Please sign in to comment.