Skip to content

Commit 3779000

Browse files
committed
Revert "ci: reorder steps and add env vars for Electron build #release:major"
This reverts commit 9c0e898.
1 parent 9c0e898 commit 3779000

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

.github/workflows/update-stable.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,6 @@ jobs:
122122
sudo apt-get install -y rpm
123123
124124
- name: Build Electron app
125-
env:
126-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
127-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
128-
NODE_OPTIONS: "--max_old_space_size=4096"
129125
run: |
130126
if [ "$RUNNER_OS" == "Windows" ]; then
131127
pnpm run electron:build:win
@@ -135,15 +131,6 @@ jobs:
135131
pnpm run electron:build:linux
136132
fi
137133
138-
- name: Commit and Tag Release
139-
run: |
140-
git pull
141-
git add package.json pnpm-lock.yaml changelog.md
142-
git commit -m "chore: release version ${{ steps.bump_version.outputs.new_version }}"
143-
git tag "v${{ steps.bump_version.outputs.new_version }}"
144-
git push
145-
git push --tags
146-
147134
- name: Upload Electron Build as Release Assets
148135
uses: softprops/action-gh-release@v2
149136
with:
@@ -158,6 +145,16 @@ jobs:
158145
env:
159146
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
160147

148+
# Commit and Tag Release
149+
- name: Commit and Tag Release
150+
run: |
151+
git pull
152+
git add package.json pnpm-lock.yaml changelog.md
153+
git commit -m "chore: release version ${{ steps.bump_version.outputs.new_version }}"
154+
git tag "v${{ steps.bump_version.outputs.new_version }}"
155+
git push
156+
git push --tags
157+
161158
- name: Update Stable Branch
162159
run: |
163160
if ! git checkout stable 2>/dev/null; then

0 commit comments

Comments
 (0)