Skip to content

fix: updating unity version in package #83

fix: updating unity version in package

fix: updating unity version in package #83

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- master
jobs:
Release:
env:
TARGET_NAME: SimpleWebTransport
SOURCE_PATH: SimpleWebTransport
runs-on: windows-latest
# needs: Tests
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.100'
- name: Install unity-packer
run: dotnet tool install -g unity-packer
- name: Package
run: >-
unity-packer pack ${{ env.TARGET_NAME }}.unitypackage
source ${{ env.SOURCE_PATH }}/scripts
LICENSE ${{ env.SOURCE_PATH }}/LICENSE
- uses: actions/upload-artifact@v1
with:
name: ${{ env.TARGET_NAME }}.unitypackage
path: ${{ env.TARGET_NAME }}.unitypackage
- name: Release
uses: cycjimmy/semantic-release-action@v3
with:
extra_plugins: |
@semantic-release/exec
@semantic-release/changelog
@semantic-release/git
branch: master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}