Mirror the repo into an Codeberg account, because this is a little bit dangerous to put on GitHub.

This commit is contained in:
lspepinho 2026-03-03 21:28:54 -03:00 committed by GitHub
parent f870ef2a10
commit 790a3ef8c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,6 @@ jobs:
build: build:
name: Build Windows64 name: Build Windows64
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v6
@ -30,14 +29,30 @@ jobs:
- name: Update release - name: Update release
uses: andelf/nightly-release@main uses: andelf/nightly-release@main
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
tag_name: nightly tag_name: nightly
name: Nightly Release name: Nightly Release
body: Requires at least Windows 7 and DirectX 11 compatible GPU to run. Compiled with MSVC v14.44.35207 in Release mode with Whole Program Optimization, as well as `/O2 /Ot /Oi /Ob3 /GF /fp:precise`. body: Requires at least Windows 7 and DirectX 11 compatible GPU to run. Compiled with MSVC v14.44.35207 in Release mode with Whole Program Optimization, as well as `/O2 /Ot /Oi /Ob3 /GF /fp:precise`.
files: | files: |
LCEWindows64.zip LCEWindows64.zip
./x64/Release/Minecraft.Client.exe ./x64/Release/Minecraft.Client.exe
./x64/Release/Minecraft.Client.pdb ./x64/Release/Minecraft.Client.pdb
mirror_to_codeberg:
name: Mirror to Codeberg
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Mirror to Codeberg
uses: cssnr/mirror-repository-action@v1
with:
url: https://codeberg.org/${{ secrets.CODEBERG_USERNAME }}/${{ github.event.repository.name }}.git
username: ${{ secrets.CODEBERG_USERNAME }}
password: ${{ secrets.CODEBERG_TOKEN }}