Skip to content

Release Patch 1.6.1 #25

Release Patch 1.6.1

Release Patch 1.6.1 #25

Workflow file for this run

name: Release New Tags
on:
push:
tags:
- "*" # Any pushed tag
jobs:
build:
name: Create Release
runs-on: ${{ matrix.os }}
strategy:
matrix:
# os: [macos-latest, ubuntu-latest, windows-latest]
os: [windows-latest]
node-version: [20]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
- run: npm run electron:build
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: little-core-labs/[email protected]
id: loadTagName
- name: Create Release
id: createRelease
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Server Binary
id: uploadReleaseAsset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.createRelease.outputs.upload_url }}
asset_path: "./release/LandOfTheRairModdingTools.zip"
asset_name: LandOfTheRairModdingTools.zip
asset_content_type: application/zip