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

@ -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: |