Skip to content

Commit

Permalink
Update InfinityAutoPackager.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubb13 committed Oct 6, 2023
1 parent 1d34e70 commit c6c4bbf
Showing 1 changed file with 7 additions and 28 deletions.
35 changes: 7 additions & 28 deletions .github/workflows/InfinityAutoPackager.yaml
Original file line number Diff line number Diff line change
@@ -1,35 +1,14 @@
# Infinity Auto Packager by AL|EN (alienquake@hotmail.com)
# A tool that automatically generates Infinity Engine mod packages when you publish a release.

name: Infinity Auto Packager

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

- 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
jobs:
call-workflow:
uses: ALIENQuake/InfinityAutoPackagerGlobal/.github/workflows/InfinityAutoPackagerGlobal.yaml@master
permissions: write-all

0 comments on commit c6c4bbf

Please sign in to comment.