act
This commit is contained in:
parent
087301ebea
commit
8f5b2cc5d0
5 changed files with 15 additions and 5 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
|
@ -68,11 +68,12 @@ jobs:
|
||||||
rm release/*.map
|
rm release/*.map
|
||||||
|
|
||||||
- name: Upload Equicord Stable
|
- name: Upload Equicord Stable
|
||||||
|
if: ${{ !vars.ACT }}
|
||||||
run: |
|
run: |
|
||||||
gh release upload latest --clobber dist/release/*
|
gh release upload latest --clobber dist/release/*
|
||||||
|
|
||||||
- name: Upload Plugin JSONs to Equibored repo
|
- name: Upload Plugin JSONs to Equibored repo
|
||||||
if: github.repository == 'Equicord/Equicord'
|
if: github.repository == 'Equicord/Equicord' && !vars.ACT
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "GitHub-Actions"
|
git config --global user.name "GitHub-Actions"
|
||||||
git config --global user.email actions@github.com
|
git config --global user.email actions@github.com
|
||||||
|
|
|
||||||
1
.github/workflows/buildBranches.yml
vendored
1
.github/workflows/buildBranches.yml
vendored
|
|
@ -91,6 +91,7 @@ jobs:
|
||||||
bun run generateDevsList dist/devs.json
|
bun run generateDevsList dist/devs.json
|
||||||
|
|
||||||
- name: Upload to Equibuilds repo
|
- name: Upload to Equibuilds repo
|
||||||
|
if: ${{ !vars.ACT }}
|
||||||
run: |
|
run: |
|
||||||
BRANCH="${{ github.event.inputs.branch || github.ref_name }}"
|
BRANCH="${{ github.event.inputs.branch || github.ref_name }}"
|
||||||
COMMIT_SHA=$(git rev-parse --short HEAD)
|
COMMIT_SHA=$(git rev-parse --short HEAD)
|
||||||
|
|
|
||||||
1
.github/workflows/nixosBuild.yml
vendored
1
.github/workflows/nixosBuild.yml
vendored
|
|
@ -69,6 +69,7 @@ jobs:
|
||||||
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
|
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
|
||||||
|
|
||||||
- name: Upload Equicord Stable
|
- name: Upload Equicord Stable
|
||||||
|
if: ${{ !vars.ACT }}
|
||||||
run: |
|
run: |
|
||||||
gh release create ${{ steps.date.outputs.date }} --latest=false
|
gh release create ${{ steps.date.outputs.date }} --latest=false
|
||||||
gh release upload ${{ steps.date.outputs.date }} --clobber dist/release/*
|
gh release upload ${{ steps.date.outputs.date }} --clobber dist/release/*
|
||||||
|
|
|
||||||
12
.github/workflows/publish.yml
vendored
12
.github/workflows/publish.yml
vendored
|
|
@ -79,12 +79,16 @@ jobs:
|
||||||
|
|
||||||
- name: Create sources zip
|
- name: Create sources zip
|
||||||
if: steps.check.outputs.release == 'true'
|
if: steps.check.outputs.release == 'true'
|
||||||
run: zip -r dist/extension-sources.zip . -x "node_modules/*" -x "dist/*" -x ".git/*"
|
run: zip -r dist/extension-sources.zip . -x "node_modules/*" -x "dist/*" -x
|
||||||
|
".git/*"
|
||||||
|
|
||||||
- name: Publish extension
|
- name: Publish extension
|
||||||
if: steps.check.outputs.release == 'true'
|
if: steps.check.outputs.release == 'true' && !vars.ACT
|
||||||
run: pnpx @equicord/publish-browser-extension@latest --chrome-zip dist/extension-chrome.zip --firefox-zip dist/extension-firefox.zip --firefox-sources-zip dist/extension-sources.zip --edge-zip dist/extension-chrome.zip
|
run: pnpx @equicord/publish-browser-extension@latest --chrome-zip
|
||||||
|
dist/extension-chrome.zip --firefox-zip
|
||||||
|
dist/extension-firefox.zip --firefox-sources-zip
|
||||||
|
dist/extension-sources.zip --edge-zip
|
||||||
|
dist/extension-chrome.zip
|
||||||
env:
|
env:
|
||||||
CHROME_EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }}
|
CHROME_EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }}
|
||||||
CHROME_PUBLISHER_ID: ${{ secrets.CHROME_PUBLISHER_ID }}
|
CHROME_PUBLISHER_ID: ${{ secrets.CHROME_PUBLISHER_ID }}
|
||||||
|
|
|
||||||
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,6 +1,9 @@
|
||||||
dist
|
dist
|
||||||
node_modules
|
node_modules
|
||||||
.VSCodeCounter
|
.VSCodeCounter
|
||||||
|
.vars
|
||||||
|
.secrets
|
||||||
|
.input
|
||||||
|
|
||||||
*.exe
|
*.exe
|
||||||
vencord_installer
|
vencord_installer
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue