Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
chmod +x VencordInstallerCli-linux

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v5
with:
name: VencordInstaller-linux
path: |
Expand Down Expand Up @@ -81,9 +81,12 @@ jobs:
- name: Install Go dependencies
run: go get -v

- name: Build
- name: Build GUI
run: CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -v -tags static -ldflags "-s -w -X 'vencordinstaller/buildinfo.InstallerGitHash=$(git rev-parse --short HEAD)' -X 'vencordinstaller/buildinfo.InstallerTag=${{ github.ref_name }}'" -o VencordInstaller

- name: Build CLI
run: CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -v -tags "static cli" -ldflags "-s -w -X 'vencordinstaller/buildinfo.InstallerGitHash=$(git rev-parse --short HEAD)' -X 'vencordinstaller/buildinfo.InstallerTag=${{ github.ref_name }}'" -o VencordInstallerCli-MacOS

- name: Update executable
run: |
chmod +x VencordInstaller
Expand All @@ -98,10 +101,12 @@ jobs:
zip -r VencordInstaller.MacOS.zip VencordInstaller.app

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v5
with:
name: VencordInstaller-macos
path: VencordInstaller.MacOS.zip
path: |
VencordInstaller.MacOS.zip
VencordInstallerCli-MacOS


build-windows:
Expand Down Expand Up @@ -159,7 +164,7 @@ jobs:
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -v -tags "static cli" -ldflags "-s -w -extldflags=-static -X 'vencordinstaller/buildinfo.InstallerGitHash=$(git rev-parse --short HEAD)' -X 'vencordinstaller/buildinfo.InstallerTag=${{ github.ref_name }}'" -o VencordInstallerCli.exe

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v5
with:
name: VencordInstaller-windows
path: |
Expand Down Expand Up @@ -201,4 +206,5 @@ jobs:
files: |
linux/VencordInstallerCli-linux
macos/VencordInstaller.MacOS.zip
macos/VencordInstallerCli-MacOS
windows/VencordInstalle*.exe
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
vencordinstaller
*.exe
*.syso
*.old
*.old
.DS_Store