Skip to content

Added two-fingers scrolling to application windows #2

Added two-fingers scrolling to application windows

Added two-fingers scrolling to application windows #2

on:
push:
branches:
- develop
name: Create Development Release
jobs:
build:
name: Create Development Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get the version
id: get_version
run: echo "FULLVERSION=`git describe`" >> "$GITHUB_OUTPUT"
- id: set_vars
run: |
FULLVERSION=${{ steps.get_version.outputs.FULLVERSION }}
echo "ZIPURL=${{ github.server_url }}/${{ github.repository }}/releases/download/${FULLVERSION}/touch-vtt-${FULLVERSION}.zip" >> "$GITHUB_OUTPUT"
echo "MODULEJSONURL=${{ github.server_url }}/${{ github.repository }}/releases/download/${FULLVERSION}/module.json" >> "$GITHUB_OUTPUT"
echo "VERSION=${FULLVERSION#v}" >> $GITHUB_OUTPUT
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Update module.json
uses: restackio/[email protected]
with:
file: module.json
fields: "{\"version\": \"${{ steps.set_vars.outputs.VERSION }}\", \"download\": \"${{ steps.set_vars.outputs.ZIPURL }}\", \"manifest\": \"${{ steps.set_vars.outputs.MODULEJSONURL }}\"}"
- name: Build Project
run: |
npm install
npm run build
zip touch-vtt-${{ steps.get_version.outputs.FULLVERSION }}.zip module.json dist/* lang/* templates/*
- name: Create Release And Upload Asset
id: create-release-upload
uses: softprops/action-gh-release@v2
with:
draft: false
prerelease: false
target_commitish: develop
tag_name: ${{ steps.get_version.outputs.FULLVERSION }}
name: ${{ steps.get_version.outputs.FULLVERSION }}
files: |
touch-vtt-${{ steps.get_version.outputs.FULLVERSION }}.zip
module.json