workflows

This commit is contained in:
Xikaro
2023-12-14 09:16:26 +05:00
parent 5ed60ab91c
commit a9e310beb8
4 changed files with 15 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
name = "AmbientSounds 5"
filename = "AmbientSounds_FORGE_v5.3.5_mc1.20.1.jar"
side = "both"
side = "client"
[download]
hash-format = "sha1"

View File

@@ -16,6 +16,13 @@ jobs:
id: get_version
run: echo ::set-output name=version::${GITHUB_REF#refs/tags/Pre}
- name: Set the version
run: |
DEV=${{ steps.get_version.outputs.version }}
sed -i -e "s/DEV/${DEV}/g" pack.toml
sed -i -e "s/DEV/${DEV}/g" config/fancymenu/customization/main_menu.txt
sed -i -e "s/DEV/${DEV}/g" config/bcc-common.toml
- name: Changelog Parser
id: changelog
uses: coditory/changelog-parser@v1.0.2
@@ -24,22 +31,15 @@ jobs:
- name: Set up Go 1.19
id: go
uses: actions/setup-go@v1
uses: actions/setup-go@v5.0.0
with:
go-version: 1.19
- run: go install github.com/packwiz/packwiz@latest
- name: Install packwiz
run: go install github.com/packwiz/packwiz@latest
- name: Set the version
run: |
DEV=${{ steps.get_version.outputs.version }}
sed -i -e "s/DEV/${DEV}/g" pack.toml
sed -i -e "s/DEV/${DEV}/g" config/fancymenu/customization/main_menu.txt
sed -i -e "s/DEV/${DEV}/g" config/bcc-common.toml
- name: Archive CF
run: packwiz curseforge export
run: |
cd ./
packwiz curseforge export
- name: Archive MMC
run: |

View File

@@ -12,7 +12,7 @@ metafile = true
[[files]]
file = ".github/buildtools/modpack/mods/ambientsounds.pw.toml"
hash = "e4e19543a206b71f651c1d9ebee43ff6fabce75fd5f370bd485696f98fa12f18"
hash = "70fd91c9029d4344e0dfb27de1b02095ff185f3cca49d29d28c65e35d61642db"
metafile = true
[[files]]

View File

@@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
[index]
file = "index.toml"
hash-format = "sha256"
hash = "91161875d79853ad447016a224498577e794f45bfa3ff9f9210b393e909020c1"
hash = "300e80ac8eaf5805184a2769e6d6d94010932addef53bf4e5da0d0f064414216"
[versions]
forge = "47.2.6"