Add double doors #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
type: string | |
description: Modpack Version | |
required: true | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
name: Release on Modrinth & GitHub Releases | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} | |
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }} | |
steps: | |
- name: Install packwiz | |
uses: actions/[email protected] | |
with: | |
go-version: "1.21.3" | |
- run: go install github.com/packwiz/packwiz@latest | |
- name: Install Peony from git repository | |
uses: baptiste0928/cargo-install@v2 | |
with: | |
crate: peony | |
git: https://github.com/LilydevMC/peony | |
tag: 0.2.0-223e662 | |
- name: Checkout Repository Files | |
uses: actions/checkout@v4 | |
- name: Export fixes resource pack | |
run: chmod +x ./scripts/export_resource_pack.sh && ./scripts/export_resource_pack.sh | |
- name: Clean up fixes resource pack | |
uses: rm -r ./resourcepacks/mission-to-mars-fixes | |
- name: Create Release | |
run: peony modpack -dv ${{ github.event.inputs.version }} |