update changelog, bump version #16
Workflow file for this run
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
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
tagged-release: | |
name: "Tagged Release" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Get tag name | |
uses: little-core-labs/get-git-tag@v3.0.2 | |
id: tagName | |
- name: Create release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ env.GIT_TAG_NAME }} | |
release_name: ${{ env.GIT_TAG_NAME }} | |
draft: false | |
prerelease: false | |
CreateIEModZipPackagesUploadToPublishedRelease: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository using 'github.ref' from release | |
uses: actions/checkout@v2.1.0 | |
with: | |
submodules: true | |
- 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 |