Compare commits

..
7 Commits
Author SHA1 Message Date
darksaid98 6ccc748afc ci: fix missing uploads to github 2024-12-12 07:37:25 +01:00
darksaid98 4f5d947532 v1.9.6 2024-12-12 06:18:29 +00:00
darksaid98 6702487b4f ci: fix missing mod-loader field 2024-12-12 07:17:57 +01:00
darksaid98 0572f0b7ff v1.9.5 2024-12-12 06:13:30 +00:00
darksaid98 47bd176014 Merge branch 'main' of https://github.com/darksaid98/optim 2024-12-12 07:12:50 +01:00
darksaid98 a18ce0a8d0 ci: use artifacts to pass release files 2024-12-12 07:12:46 +01:00
darksaid98 f5e25ee6a3 v1.9.4 2024-12-12 06:02:43 +00:00
4 changed files with 21 additions and 16 deletions

No files matched your search

-4
View File
@@ -22,10 +22,6 @@ outputs:
runs:
using: 'composite'
steps:
# Checkout repository
- name: Checkout Repository
uses: actions/checkout@v4
# Read metadata in pack.toml and output to workflow
- name: Read Metadata
id: read
+9 -10
View File
@@ -49,13 +49,12 @@ runs:
uses: actions/checkout@v4
# Download release files
- name: Download Release
uses: robinraju/[email protected]
- name: Download Release Artifacts
uses: actions/download-artifact@v4
with:
fileName: "*"
tag: ${{ inputs.version }}
tarBall: false
zipBall: false
name: Modpack-Release
run-id: ${{ github.event.workflow_run.id }}
merge-multiple: true
# Create a markdown file of the release description
- name: Pipe Release Description to File
@@ -69,8 +68,8 @@ runs:
with:
modrinth-id: ${{ inputs.MODRINTH_ID }}
modrinth-token: ${{ inputs.MODRINTH_TOKEN }}
loaders: ${{ inputs.mod-loader }}
game-versions: ${{ inputs.minecraft-version }}
loaders: ${{ env.mod-loader }}
game-versions: ${{ env.minecraft-version }}
files: "*.mrpack"
version: ${{ inputs.version }}
version-type: release
@@ -83,8 +82,8 @@ runs:
with:
curseforge-id: ${{ inputs.CURSEFORGE_ID }}
curseforge-token: ${{ inputs.CURSEFORGE_TOKEN }}
loaders: ${{ inputs.mod-loader }}
game-versions: ${{ inputs.minecraft-version }}
loaders: ${{ env.mod-loader }}
game-versions: ${{ env.minecraft-version }}
files: "*.zip"
version: ${{ inputs.version }}
version-type: release
+11 -1
View File
@@ -75,6 +75,16 @@ jobs:
packwiz modrinth export --output Optim-${{ github.ref_name }}.mrpack
working-directory: ./main
# Upload artifacts of release files
- name: Upload Release Artifacts
uses: actions/upload-artifact@v4
with:
name: Modpack-Release
path: |
./main/Optim-${{ github.ref_name }}.zip
./main/Optim-${{ github.ref_name }}.mrpack
retention-days: 1
# Fetch modpack metadata from the modpack config
- name: Read Modpack Metadata
id: metadata
@@ -125,7 +135,7 @@ jobs:
generate_release_notes: false
body: ${{ steps.changelog.outputs.changelog }}
- name: Create Release Client (Modrinth)
- name: Create Release Client (Modrinth & CurseForge)
uses: ./.github/actions/release
with:
working-directory: ./main
+1 -1
View File
@@ -1,6 +1,6 @@
name = "Optim"
author = "darksaid98"
version = "v1.9.3"
version = "v1.9.6"
pack-format = "packwiz:1.1.0"
[index]