Compare commits

..

1 Commits

Author SHA1 Message Date
Colin Basnett
275f246458 Update main.yml 2024-06-09 12:04:57 -07:00
4 changed files with 32 additions and 31 deletions

View File

@@ -1,4 +1,4 @@
name: Build Extension
name: Verify Addon
on:
workflow_dispatch:
@@ -13,36 +13,20 @@ jobs:
env:
BLENDER_VERSION: blender-4.2.0-beta+v42.d19d23e91f65-linux.x86_64-release
steps:
- uses: actions/checkout@v3
- name: Set derived environment variables
run: |
echo "BLENDER_FILENAME=${{ env.BLENDER_VERSION }}.tar.xz" >> $GITHUB_ENV
echo "BLENDER_URL=https://cdn.builder.blender.org/download/daily/${{ env.BLENDER_VERSION }}.tar.xz" >> $GITHUB_ENV
- name: Install Blender Dependencies
run: |
sudo apt-get install libxxf86vm-dev -y
sudo apt-get install libxfixes3 -y
sudo apt-get install libxi-dev -y
sudo apt-get install libxkbcommon-x11-0 -y
sudo apt-get install libgl1-mesa-glx -y
- name: Download & Extract Blender
apt install libxxf86vm-dev -y
apt install libxfixes3 -y
apt install libxi-dev -y
apt install libxkbcommon-x11-0 -y
apt install libgl1-mesa-glx -y
- name: Download Blender
run: |
wget -q $BLENDER_URL
tar -xf $BLENDER_FILENAME
wget $BLENDER_URL
tar -xvzf $BLENDER_FILENAME
rm -rf $BLENDER_FILENAME
- name: Add Blender executable to path
run: |
echo "${{ github.workspace }}/${{ env.BLENDER_VERSION }}/" >> $GITHUB_PATH
- name: Build extension
run: |
pushd ./io_scene_psk_psa
blender --command extension build
mkdir artifact
unzip -q io_scene_psk_psa.zip -d ./artifact
popd
- name: Archive addon
uses: actions/upload-artifact@v4
with:
name: io_scene_psk_psa-${{ github.ref_name }}-${{ github.sha }}
path: |
./io_scene_psk_psa/artifact/*
- uses: actions/checkout@v3

21
LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2019 Darklight Games
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -1,6 +1,5 @@
[![Blender](https://img.shields.io/badge/Blender->=2.9-blue?logo=blender&logoColor=white)](https://www.blender.org/download/ "Download Blender")
[![GitHub release](https://img.shields.io/github/release/DarklightGames/io_scene_psk_psa?include_prereleases=&sort=semver&color=blue)](https://github.com/DarklightGames/io_scene_psk_psa/releases/)
[![Build Extension](https://github.com/DarklightGames/io_scene_psk_psa/actions/workflows/main.yml/badge.svg)](https://github.com/DarklightGames/io_scene_psk_psa/actions/workflows/main.yml)
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/L4L3853VR)

View File

@@ -1,7 +1,7 @@
schema_version = "1.0.0"
id = "io_scene_psk_psa"
version = "7.1.0"
name = "Unreal PSK/PSA (.psk/.psa)"
name = "Unreal Mesh & Animation (.psk/.psa)"
tagline = "Import and export PSK and PSA files used in Unreal Engine"
maintainer = "Colin Basnett <cmbasnett@gmail.com>"
type = "add-on"
@@ -22,6 +22,3 @@ paths_exclude_pattern = [
"/.github/",
".gitignore",
]
[permissions]
files = "Import/export PSK and PSA files from/to disk"