Skip to content

Commit

Permalink
Update release
Browse files Browse the repository at this point in the history
  • Loading branch information
JayaShakthi97 committed Oct 29, 2023
1 parent 74cd68a commit 32622ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ jobs:
token: ${{ env.GH_TOKEN }}
fetch-depth: 0

- name: Set up Git user
run: |
git config user.name "GitHub Action"
git config user.email "[email protected]"
# - name: 🟢 Setup node
# id: setup-node
# uses: actions/setup-node@v2
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/scripts/release-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ merge_to_master() {
}

dummy_long_running_process() {
local releaseBranch="release-action-$GITHUB_RUN_NUMBER"
local minutes=5

for (( i=1; i<=$minutes; i++ ))
Expand All @@ -39,7 +40,7 @@ dummy_long_running_process() {
git add "$dummyFileName"
git commit -m "Add dummy file ($dummyFileName) during release process"
echo "Committed $dummyFileName to the branch."
git push
git push --set-upstream origin "$releaseBranch"
echo "Pushed the changes to the remote branch."
}

Expand Down

0 comments on commit 32622ff

Please sign in to comment.