Skip to content

natsuneko-laboratory/create-vpmpackage

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@natsuneko-laboratory/create-vpmpackage

Create VPMPackage without Unity and additional instructions in GitHub Actions

Properties

Property Type Required Description
package string No (default: null) * package.json for packaging
packages string[] No (default: null) * array of package.json for packaging
output string Yes if meta or package provided output filename such as Neko.unitypackage
outputs string[] Yes if packages provided array of output filename such as Neko.unitypackage

* specify one of package, or packages is required

using package

name: "Release by Tag"

on:
  push:
    tags:
      - v\d+\.\d+\.\d+
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          lfs: true

      - run: |
          mkdir ./dist

      - uses: natsuneko-laboratory/create-vpmpackage@v1.1.1 # You should use SHA hash
        with:
          package: Assets/NatsunekoLaboratory/Package/package.json
          output: dist/Package.zip

using packages

name: "Release by Tag"

on:
  push:
    tags:
      - v\d+\.\d+\.\d+
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          lfs: true

      - run: |
          mkdir ./dist

      - uses: natsuneko-laboratory/create-vpmpackage@v1.1.1 # You should use SHA hash
        with:
          packages: |
            Assets/NatsunekoLaboratory/Package1/package.json
            Assets/NatsunekoLaboratory/Package2/package.json
          outputs: |
            dist/Package1.zip
            dist/Package2.zip

License

MIT by @6jz

About

Create VPMPackage without Unity and additional instructions in GitHub Actions

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published