mirror of
https://github.com/Nostalgica-Reverie/Content-Monorepo.git
synced 2026-05-09 00:24:15 +00:00
feat:(all) initiate wide array of version support +
This commit is contained in:
61
.github/workflows/ac-nightly.yml
vendored
61
.github/workflows/ac-nightly.yml
vendored
@@ -1,61 +0,0 @@
|
||||
name: Arics Console Nighty Builds
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
PACK_NAME: Arics-Console
|
||||
OUTPUT: artifacts
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 'stable'
|
||||
cache: false
|
||||
|
||||
- name: Install Packwiz
|
||||
run: go install github.com/packwiz/packwiz@latest
|
||||
|
||||
- name: Create short commit SHA
|
||||
id: vars
|
||||
run: |
|
||||
shortSha=$(git rev-parse --short ${{ github.sha }})
|
||||
echo "COMMIT_SHORT_SHA=$shortSha" >> $GITHUB_ENV
|
||||
|
||||
- name: Prepare Builds
|
||||
run: |
|
||||
mkdir Arics-Modrinth-1.21.5-temp
|
||||
cp -r ./versions/modded/src/arics-console/modrinth/1.21.5/* ./Arics-Modrinth-1.21.5-temp/
|
||||
cp ./LICENSE ./Arics-Modrinth-1.21.5-temp/
|
||||
cp ./README.md ./Arics-Modrinth-1.21.5-temp/
|
||||
|
||||
- name: Create 1.21.5 build
|
||||
run: |
|
||||
cd ./Arics-Modrinth-1.21.5-temp/
|
||||
packwiz refresh
|
||||
packwiz modrinth export --output ${PACK_NAME}-1.21.5-dev-${{ env.COMMIT_SHORT_SHA }}.mrpack
|
||||
|
||||
- name: Prepare artifacts
|
||||
run: |
|
||||
mkdir $OUTPUT
|
||||
|
||||
mv ./Arics-Modrinth-1.21.5-temp/${PACK_NAME}-1.21.5-dev-${{ env.COMMIT_SHORT_SHA }}.mrpack ${OUTPUT}/
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "Arics-Console-dev-${{ env.COMMIT_SHORT_SHA }}"
|
||||
path: artifacts
|
||||
|
||||
|
||||
58
.github/workflows/rc-se-nightly.yml
vendored
58
.github/workflows/rc-se-nightly.yml
vendored
@@ -1,58 +0,0 @@
|
||||
name: RC-SE Nighty Builds
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
PACK_NAME: Re-Console-SE
|
||||
OUTPUT: artifacts
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 'stable'
|
||||
cache: false
|
||||
|
||||
- name: Install Packwiz
|
||||
run: go install github.com/packwiz/packwiz@latest
|
||||
|
||||
- name: Create short commit SHA
|
||||
id: vars
|
||||
run: |
|
||||
shortSha=$(git rev-parse --short ${{ github.sha }})
|
||||
echo "COMMIT_SHORT_SHA=$shortSha" >> $GITHUB_ENV
|
||||
|
||||
- name: Prepare Builds
|
||||
run: |
|
||||
mkdir SE-Modrinth-1.21.5-temp
|
||||
cp -r ./versions/vanilla/src/re-console-se/modrinth/fabric/0.5.x/1.21.5/* ./SE-Modrinth-1.21.5-temp/
|
||||
cp ./LICENSE ./SE-Modrinth-1.21.5-temp/
|
||||
cp ./README.md ./SE-Modrinth-1.21.5-temp/
|
||||
|
||||
- name: Create 1.21.5 build
|
||||
run: |
|
||||
cd ./SE-Modrinth-1.21.5-temp/
|
||||
packwiz refresh
|
||||
packwiz modrinth export --output ${PACK_NAME}-1.21.5-dev-${{ env.COMMIT_SHORT_SHA }}.mrpack
|
||||
|
||||
- name: Prepare artifacts
|
||||
run: |
|
||||
mkdir $OUTPUT
|
||||
mv ./SE-Modrinth-1.21.5-temp/${PACK_NAME}-1.21.5-dev-${{ env.COMMIT_SHORT_SHA }}.mrpack ${OUTPUT}/
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "Re-Console-SE-dev-${{ env.COMMIT_SHORT_SHA }}"
|
||||
path: artifacts
|
||||
Reference in New Issue
Block a user