Skip to content

Commit

Permalink
build: Add push to vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
hbons committed Mar 1, 2024
1 parent 4ff87bb commit 8840a98
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ jobs:
name: codicon-font-${{ github.sha }}
path: dist/codicon.ttf

- name: Pull Request to microsoft/vscode
run: |
git config user.email "hylbo@microsoft.com"
git config user.name "GitHub Actions at microsoft/vscode-codicons"
git clone https://github.com/microsoft/vscode.git
cd vscode
git checkout -b update-codicons
cp ../dist/codicon.ttf src/vs/base/browser/ui/codicons/codicon/
# TODO: Generate mapping file

git add .
git commit --no-verify -m "Update codicons to ${{ github.ref }}"
git push -f origin update-codicons
# TODO: Create PR

publish:
runs-on: ubuntu-latest

Expand All @@ -53,14 +68,3 @@ jobs:
draft: false
prerelease: false
body: $(cat release_notes.txt)
# run: |
# git config --global user.email "actions@github.com"
# git config --global user.name "GitHub Actions"
# git clone https://github.com/microsoft/vscode.git
# cd vscode
# git checkout -b update-codonicons
# cp -r ../dist/codicon.ttf src/vs/base/browser/ui/codicons/codicon/
# git add .
# git commit -m "Update codicons to ${{ github.ref }}"
# git push origin update-font
# # TODO: Create PR

0 comments on commit 8840a98

Please sign in to comment.