Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
Coloryr committed May 4, 2024
1 parent 6c241c6 commit e583778
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
run: |
VERSION=$(cat ./build/version)
echo "VERSION=$VERSION" >> $GITHUB_ENV
MAINVERSION=$(cat ./build/main_version)
echo "MAINVERSION=$MAINVERSION" >> $GITHUB_ENV
- name: 更新源码
shell: bash
Expand Down Expand Up @@ -61,43 +63,43 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: "colormc-arch-x86_64"
path: build_out/colormc-a${{ env.VERSION }}-1-x86_64.pkg.tar.zst
path: build_out/colormc-${{ env.MAINVERSION }}${{ env.VERSION }}-1-x86_64.pkg.tar.zst

- name: 上传 linux-x86-aot.pkg.tar.zst
uses: actions/upload-artifact@v4
with:
name: "colormc-arch-x86_64-aot"
path: build_out/colormc-a${{ env.VERSION }}-1-x86_64-aot.pkg.tar.zst
path: build_out/colormc-${{ env.MAINVERSION }}${{ env.VERSION }}-1-x86_64-aot.pkg.tar.zst

- name: 上传 linux-x64.deb
uses: actions/upload-artifact@v4
with:
name: "colormc-ubuntu-x64"
path: build_out/colormc-a${{ env.VERSION }}-linux-x64.deb
path: build_out/colormc-${{ env.MAINVERSION }}${{ env.VERSION }}-linux-x64.deb

- name: 上传 linux-arm64.deb
uses: actions/upload-artifact@v4
with:
name: "colormc-ubuntu-arm64"
path: build_out/colormc-a${{ env.VERSION }}-linux-arm64.deb
path: build_out/colormc-${{ env.MAINVERSION }}${{ env.VERSION }}-linux-arm64.deb

- name: 上传 linux-x64-aot.deb
uses: actions/upload-artifact@v4
with:
name: "colormc-ubuntu-x64-aot"
path: build_out/colormc-a${{ env.VERSION }}-linux-x64-aot.deb
path: build_out/colormc-${{ env.MAINVERSION }}${{ env.VERSION }}-linux-x64-aot.deb

- name: 上传 linux-arm64-aot.deb
uses: actions/upload-artifact@v4
with:
name: "colormc-ubuntu-arm64-aot"
path: build_out/colormc-a${{ env.VERSION }}-linux-arm64-aot.deb
path: build_out/colormc-${{ env.MAINVERSION }}${{ env.VERSION }}-linux-arm64-aot.deb

- name: 上传 linux-x64-appimage.deb
uses: actions/upload-artifact@v4
with:
name: "colormc-linux-x64-appimage"
path: build_out/colormc-a${{ env.VERSION }}-x86_64.AppImage
path: build_out/colormc-${{ env.MAINVERSION }}${{ env.VERSION }}-linux-x86_64.AppImage

build-macos:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion build/build-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ sudo chown $USER:$USER ./build_out/colormc-$main_version$version-x86_64.AppImage
chmod a+x build_out/colormc-$main_version$version-x86_64.AppImage
mv build_out/colormc-$main_version$version-x86_64.AppImage build_out/colormc-$main_version$version-linux-x86_64.AppImage

echo "ColorMC-b$version-linux-x64-appimage build done"
echo "ColorMC-$main_version$version-linux-x64-appimage build done"
2 changes: 1 addition & 1 deletion build/info/arch/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname="colormc"
pkgver="a%version%"
pkgver="%version%"
pkgrel="1"
pkgdesc="A Minecraft Launcher"
url="https://www.github.com/Coloryr/ColorMC"
Expand Down

0 comments on commit e583778

Please sign in to comment.