diff options
author | V <vendicated@riseup.net> | 2023-06-01 22:49:15 +0200 |
---|---|---|
committer | V <vendicated@riseup.net> | 2023-06-01 22:49:15 +0200 |
commit | 7b2bf08b8f47e0340a40aad71b9e89df3c0f5fa8 (patch) | |
tree | eb405754fbc00d2a71aedcccc343d64a767b23c7 /.github/workflows/build.yml | |
parent | 43011825afcb9d69582b6301750799db57f5074f (diff) | |
download | Vencord-7b2bf08b8f47e0340a40aad71b9e89df3c0f5fa8.tar.gz Vencord-7b2bf08b8f47e0340a40aad71b9e89df3c0f5fa8.tar.bz2 Vencord-7b2bf08b8f47e0340a40aad71b9e89df3c0f5fa8.zip |
[skip ci] ci: fix inconsistent formatting
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 46645ad..cc27604 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,37 +42,37 @@ jobs: - name: Clean up obsolete files run: | - rm -rf dist/*-unpacked Vencord.user.css vencordDesktopRenderer.css vencordDesktopRenderer.css.map + rm -rf dist/*-unpacked Vencord.user.css vencordDesktopRenderer.css vencordDesktopRenderer.css.map - name: Get some values needed for the release id: release_values run: | - echo "release_tag=$(git rev-parse --short HEAD)" >> $GITHUB_ENV + echo "release_tag=$(git rev-parse --short HEAD)" >> $GITHUB_ENV - name: Upload DevBuild as release run: | - gh release upload devbuild --clobber dist/* - gh release edit devbuild --title "DevBuild $RELEASE_TAG" + gh release upload devbuild --clobber dist/* + gh release edit devbuild --title "DevBuild $RELEASE_TAG" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - RELEASE_TAG: ${{ env.release_tag }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + RELEASE_TAG: ${{ env.release_tag }} - name: Upload DevBuild to builds repo run: | - git config --global user.name "$USERNAME" - git config --global user.email actions@github.com + git config --global user.name "$USERNAME" + git config --global user.email actions@github.com - git clone https://$USERNAME:$API_TOKEN@github.com/$GH_REPO.git upload - cd upload + git clone https://$USERNAME:$API_TOKEN@github.com/$GH_REPO.git upload + cd upload - GLOBIGNORE=.git:.gitignore:README.md:LICENSE - rm -rf * - cp -r ../dist/* . + GLOBIGNORE=.git:.gitignore:README.md:LICENSE + rm -rf * + cp -r ../dist/* . - git add -A - git commit -m "Builds for https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA" - git push --force https://$USERNAME:$API_TOKEN@github.com/$GH_REPO.git + git add -A + git commit -m "Builds for https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA" + git push --force https://$USERNAME:$API_TOKEN@github.com/$GH_REPO.git env: - API_TOKEN: ${{ secrets.BUILDS_TOKEN }} - GH_REPO: Vencord/builds - USERNAME: GitHub-Actions + API_TOKEN: ${{ secrets.BUILDS_TOKEN }} + GH_REPO: Vencord/builds + USERNAME: GitHub-Actions |