Skip to content

Commit

Permalink
test branch name use rand hex
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoweii committed Jan 26, 2024
1 parent 367c329 commit 7f6a07f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
git diff
git config user.name "github-actions"
git config user.email "[email protected]"
branch=pastboard-${{ steps.random-string.outputs.random_string }}
branch=pastboard-$(openssl rand -hex 5)
echo $branch
echo "tempbranch=$branch" >> "$GITHUB_ENV"
git checkout -b $branch
Expand All @@ -60,6 +60,7 @@ jobs:
if: success() || failure()
run: |
git checkout main
echo $tempbranch
git branch -D $tempbranch
git push origin —delete $tempbranch
- name: Build Device Farm test file
Expand Down

0 comments on commit 7f6a07f

Please sign in to comment.