File tree Expand file tree Collapse file tree 2 files changed +8
-27
lines changed Expand file tree Collapse file tree 2 files changed +8
-27
lines changed Original file line number Diff line number Diff line change 23
23
dotnet publish -c Release --no-self-contained -r win-x64 -o publish -p:PublishTrimmed=true
24
24
vpk download github --repoUrl https://github.com/rgbcraft/NewRGBLauncher/
25
25
vpk pack -u NewRGB -o releases -p publish -f net8-x64-desktop -v ${{github.ref_name}}
26
- - name : Upload
27
- uses : actions/upload-artifact@v4
28
- with :
29
- name : NewRGB-Win
30
- path : releases/*
31
- - name : Publish in release
32
- uses : softprops/action-gh-release@v2
33
- if : github.ref_type == 'tag'
34
- with :
35
- files : |
36
- releases/*
37
- token : ${{ secrets.GITHUB_TOKEN }}
26
+ vpk upload github --repoUrl "https://github.com/rgbcraft/NewRGBLauncher/" --merge --releaseName v${{github.ref_name}} --tag ${{github.ref_name}} --token ${{ secrets.GITHUB_TOKEN }}
38
27
build-linux :
39
28
runs-on : ubuntu-latest
40
29
steps :
52
41
- name : Build
53
42
run : |
54
43
chmod +x build-linux.sh
55
- bash build-linux.sh ${{github.ref_name}}
56
- - name : Upload
57
- uses : actions/upload-artifact@v4
58
- with :
59
- name : NewRGB-Linux
60
- path : releases/*
61
- - name : Publish in release
62
- uses : softprops/action-gh-release@v2
63
- if : github.ref_type == 'tag'
64
- with :
65
- files : |
66
- releases/*
67
- token : ${{ secrets.GITHUB_TOKEN }}
44
+ bash build-linux.sh ${{github.ref_name}} ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -20,8 +20,12 @@ dotnet publish -c Release --self-contained -r linux-x64 -o "$PUBLISH_DIR" -p:Pub
20
20
21
21
echo " "
22
22
echo " Downloading latest release"
23
- vpk download github --repoUrl https://github.com/rgbcraft/NewRGBLauncher/
23
+ vpk download github --repoUrl " https://github.com/rgbcraft/NewRGBLauncher/"
24
24
25
25
echo " "
26
26
echo " Building Velopack Release v$BUILD_VERSION "
27
- vpk pack -u NewRGB -v " $BUILD_VERSION " -o " $RELEASE_DIR " -p " $PUBLISH_DIR "
27
+ vpk pack -u NewRGB -v " $BUILD_VERSION " -o " $RELEASE_DIR " -p " $PUBLISH_DIR "
28
+
29
+ echo " "
30
+ echo " Uploading..."
31
+ vpk upload github --repoUrl " https://github.com/rgbcraft/NewRGBLauncher/" --merge --releaseName " v$1 " --tag " $1 " --token " $2 "
You can’t perform that action at this time.
0 commit comments