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