Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
activity

GitHub Action

Release with HEMTT

2.1.1

Release with HEMTT

activity

Release with HEMTT

Build your mod with HEMTT

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Release with HEMTT

uses: gruppe-adler/action-release-with-hemtt@2.1.1

Learn more about this action in gruppe-adler/action-release-with-hemtt

Choose a version

tests codecov

action-release-with-hemtt

This action builds your HEMTT mod and then zips it. You could then use that zip and attach it as an artifact or to a release.

Inputs

zip_build

This input is optional (Default: true) Whether the build should be zipped.

cwd

This input is optional (Default: .) Working directory of hemtt.

Outputs

release_path

Relative path of released addon before it is zipped. (is equal to ./releases/<version>)

zip_path

Relative path of zipped mod. Will be not set if input zip_build is false

zip_name

Name of packed mod (without file extension). Will be not set if input zip_build is false.

Example usage

steps:
- uses: actions/checkout@master

- uses: gruppe-adler/action-release-with-hemtt@master
  id: build

- run: echo 'Release ${{ steps.build.outputs.zip_name }} is ready.'

- uses: actions/upload-artifact@master
  with:
    name: 'packed-mod'
    path: ${{ steps.build.outputs.zip_path }}

License

The scripts and documentation in this project are released under the MIT License