-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from GwendolyneFreddy/master
CtB v 3.0 (by Weigo and jastey)
- Loading branch information
Showing
8 changed files
with
2,015 additions
and
863 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Infinity Auto Packager by AL|EN (alienquake@hotmail.com) | ||
# A tool that automatically generates Infinity Engine mod packages when you publish a release. | ||
|
||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
InfinityAutoPackager: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Initial setup | ||
run: | | ||
git lfs uninstall | ||
git config --global core.autocrlf false | ||
git config --global core.ignorecase true | ||
- name: Clone repository using 'github.ref' from release | ||
uses: actions/checkout@master | ||
|
||
- name: Create Infinity Engine Mod Packages (.iemod and .zip) | ||
uses: ALIENQuake/CreateIEModZipPackage@master | ||
id: CreateIEModZipPackage | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Upload iemod package to latest release | ||
uses: svenstaro/upload-release-action@v1-release | ||
if: github.ref != 'refs/heads/master' | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: ${{ steps.CreateIEModZipPackage.outputs.PackageBaseName }}.iemod | ||
asset_name: ${{ steps.CreateIEModZipPackage.outputs.PackageBaseName }}.iemod | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
|
||
- name: Upload zip package to latest release | ||
uses: svenstaro/upload-release-action@v1-release | ||
if: github.ref != 'refs/heads/master' | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: ${{ steps.CreateIEModZipPackage.outputs.PackageBaseName }}.zip | ||
asset_name: ${{ steps.CreateIEModZipPackage.outputs.PackageBaseName }}.zip | ||
tag: ${{ github.ref }} | ||
overwrite: true |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Oops, something went wrong.