Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

merged develop into main #21

merged develop into main

merged develop into main #21

Workflow file for this run

name: Publish scriptor
on:
push:
tags:
- 'v*.*.*'
jobs:
publish:
runs-on: ubuntu-latest
name: Build
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Build usepython
working-directory: ./src/usepython
run: |
npm install
npm run build
- name: install node modules
run: npm install
- name: zipping scriptor python module
working-directory: ./src/assets
run: python3 make.py
- name: build scriptor
run: npm run build
- name: zipping scriptor build
run: python3 make.py
- name: Get version from tag
id: tag_name
run: |
echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
- name: Upload Release
uses: ncipollo/release-action@v1
with:
artifacts: "source.zip"
token: ${{ secrets.GITHUB_TOKEN }}
- name: Done
run: echo 'Done'