Skip to content
Permalink
Browse files

Merge pull request #15 from ALIENQuake/master

added InfinityAutoPackager
  • Loading branch information
burner1024 committed Feb 17, 2020
2 parents 39721c2 + 5f59c3b commit 70b5e9837841b07e13b6e9ef0193159077c112a5
Showing with 37 additions and 0 deletions.
  1. +37 −0 .github/workflows/InfinityAutoPackager.yml
@@ -0,0 +1,37 @@
# Author: AL|EN
# Email: alienquake@hotmail.com
on:
release:
types: [published]
jobs:
CreateIEModZipPackagesUploadToPublishedRelease:
runs-on: ubuntu-latest
steps:

- 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
if: success()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload iemod package to latest release
uses: svenstaro/upload-release-action@v1-release
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
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.CreateIEModZipPackage.outputs.PackageBaseName }}.zip
asset_name: ${{ steps.CreateIEModZipPackage.outputs.PackageBaseName }}.zip
tag: ${{ github.ref }}
overwrite: true

0 comments on commit 70b5e98

Please sign in to comment.
You can’t perform that action at this time.