mirror of
https://github.com/darksaid98/optim.git
synced 2026-12-01 14:38:49 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
92f64c8baa | ||
|
|
bc965156b2 |
No files matched your search
@@ -12,5 +12,6 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
# Update version fields for client pack
|
# Update version fields for client pack
|
||||||
- name: Update client versions
|
- name: Update client versions
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sed -i -b 's/^version = .*/version = "${{ inputs.version }}"/' ./main/pack.toml
|
sed -i -b 's/^version = .*/version = "${{ inputs.version }}"/' ./main/pack.toml
|
||||||
@@ -5,8 +5,8 @@ runs:
|
|||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
- name: LFS Create File List
|
- name: LFS Create File List
|
||||||
run: git lfs ls-files --long | cut -d ' ' -f1 | sort > .lfs-assets-id
|
|
||||||
shell: bash
|
shell: bash
|
||||||
|
run: git lfs ls-files --long | cut -d ' ' -f1 | sort > .lfs-assets-id
|
||||||
|
|
||||||
- name: LFS Cache
|
- name: LFS Cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
@@ -17,6 +17,6 @@ runs:
|
|||||||
${{ runner.os }}-lfs-
|
${{ runner.os }}-lfs-
|
||||||
|
|
||||||
- name: LFS Pull
|
- name: LFS Pull
|
||||||
run: git lfs pull
|
|
||||||
shell: bash
|
shell: bash
|
||||||
|
run: git lfs pull
|
||||||
|
|
||||||
@@ -50,9 +50,9 @@ jobs:
|
|||||||
|
|
||||||
# Refresh packwiz files (Client)
|
# Refresh packwiz files (Client)
|
||||||
- name: Refresh Packwiz Index Client
|
- name: Refresh Packwiz Index Client
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
packwiz refresh
|
packwiz refresh
|
||||||
shell: bash
|
|
||||||
working-directory: ./main
|
working-directory: ./main
|
||||||
|
|
||||||
# Commit and push updated files
|
# Commit and push updated files
|
||||||
@@ -64,15 +64,15 @@ jobs:
|
|||||||
|
|
||||||
# Package release (Client)
|
# Package release (Client)
|
||||||
- name: Build CurseForge Client Modpack
|
- name: Build CurseForge Client Modpack
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
packwiz curseforge export --output Optim-${{ github.ref_name }}.zip
|
packwiz curseforge export --output Optim-${{ github.ref_name }}.zip
|
||||||
shell: bash
|
|
||||||
working-directory: ./main
|
working-directory: ./main
|
||||||
|
|
||||||
- name: Build Modrinth Client Modpack
|
- name: Build Modrinth Client Modpack
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
packwiz modrinth export --output Optim-${{ github.ref_name }}.mrpack
|
packwiz modrinth export --output Optim-${{ github.ref_name }}.mrpack
|
||||||
shell: bash
|
|
||||||
working-directory: ./main
|
working-directory: ./main
|
||||||
|
|
||||||
# Generate changelog
|
# Generate changelog
|
||||||
|
|||||||
Reference in new issue
Block a user