Third Time's The Charm!

This commit is contained in:
TheBrokenRail 2024-11-23 00:01:27 -05:00
parent 3d89fb691a
commit 2c3bb41293
2 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,4 @@
name: 'CI' name: 'CI'
on: on:
push: push:
branches: branches:
@ -8,6 +7,7 @@ on:
- '*' - '*'
- '!flatpak' - '!flatpak'
# Jobs
jobs: jobs:
# Build Project # Build Project
build: build:
@ -33,7 +33,7 @@ jobs:
- name: Build - name: Build
run: ./scripts/build.mjs appimage ${{ matrix.arch }} run: ./scripts/build.mjs appimage ${{ matrix.arch }}
- name: Upload Artifacts - name: Upload Artifacts
uses: christopherhx/gitea-upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: ${{ matrix.arch }} name: ${{ matrix.arch }}
path: ./out/*.AppImage* path: ./out/*.AppImage*
@ -87,7 +87,7 @@ jobs:
run: ./scripts/install-dependencies.sh example_mods amd64 run: ./scripts/install-dependencies.sh example_mods amd64
# SDK # SDK
- name: Download SDK - name: Download SDK
uses: christopherhx/gitea-download-artifact@v4 uses: actions/download-artifact@v3
with: with:
name: AMD64 name: AMD64
path: out path: out
@ -100,7 +100,7 @@ jobs:
- name: Build Example Mods - name: Build Example Mods
run: ./example-mods/build.sh run: ./example-mods/build.sh
- name: Upload Artifacts - name: Upload Artifacts
uses: christopherhx/gitea-upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: Example Mods name: Example Mods
path: ./example-mods/out/* path: ./example-mods/out/*
@ -123,7 +123,7 @@ jobs:
go-version: '>=1.20.1' go-version: '>=1.20.1'
# Download Artifacts # Download Artifacts
- name: Download Artifacts - name: Download Artifacts
uses: christopherhx/gitea-download-artifact@v4 uses: actions/download-artifact@v3
with: with:
path: out path: out
# Create Release # Create Release
@ -133,4 +133,4 @@ jobs:
files: ./out/*/*.AppImage* files: ./out/*/*.AppImage*
api_key: ${{ secrets.RELEASE_TOKEN }} api_key: ${{ secrets.RELEASE_TOKEN }}
title: v${{ github.ref_name }} title: v${{ github.ref_name }}
body: "[View Changelog](https://gitea.thebrokenrail.com/minecraft-pi-reborn/minecraft-pi-reborn/src/branch/master/docs/CHANGELOG.md)" body: '[View Changelog](https://gitea.thebrokenrail.com/minecraft-pi-reborn/minecraft-pi-reborn/src/branch/master/docs/CHANGELOG.md)'

View File

@ -20,7 +20,7 @@ add_subdirectory(src EXCLUDE_FROM_ALL)
unset(MESSAGE_QUIET) unset(MESSAGE_QUIET)
# Install # Install
setup_library(glfw TRUE FALSE) setup_library(glfw TRUE TRUE)
# License # License
install(FILES src/LICENSE.md DESTINATION "${MCPI_LEGAL_DIR}/GLFW") install(FILES src/LICENSE.md DESTINATION "${MCPI_LEGAL_DIR}/GLFW")