Skip to content

Commit

Permalink
fix: hotfix master runner choice
Browse files Browse the repository at this point in the history
This would have gone away after a while, but this is correct too.
  • Loading branch information
ludamad authored Dec 19, 2024
1 parent 641da4b commit 9e13b51
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,8 @@ jobs:
echo "username=$instance_name"
echo "username=$instance_name" >> $GITHUB_OUTPUT
else
GIT_HASH="${{ github.sha }}"
GIT_HASH_LAST8=${GIT_HASH: -8}
GIT_HASH_LAST8_DEC=$(printf "%d" 0x$GIT_HASH_LAST8)
GIT_HASH_MODULO_8=$((GIT_HASH_LAST8_DEC % 8))
echo "username=master-${GIT_HASH_MODULO_8}"
echo "username=master-${GIT_HASH_MODULO_8}" >> $GITHUB_OUTPUT
echo "username=${{ github.sha }}""
echo "username=${{ github.sha }}"" >> $GITHUB_OUTPUT
fi
- name: Create Job Lists
id: e2e_list
Expand Down

0 comments on commit 9e13b51

Please sign in to comment.