Skip to content

Merge branch 'master' of https://github.com/raycastly/texture-ripper #26

Merge branch 'master' of https://github.com/raycastly/texture-ripper

Merge branch 'master' of https://github.com/raycastly/texture-ripper #26

Workflow file for this run

name: Release and Build
permissions:
contents: write
pages: write
id-token: write
on:
push:
branches:
- master
jobs:
release:
runs-on: windows-latest
steps:
# 1. Checkout
- uses: actions/checkout@v3
with:
fetch-depth: 0
# 2. Setup Node
- uses: actions/setup-node@v3
with:
node-version: '20'
# 3. Install dependencies
- run: npm ci
# 4. Build Windows app
- run: npm run build:win
# 5. Run Semantic Release + Update version.json
- name: Run Semantic Release and Update Version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npx semantic-release
# Update version.json AFTER semantic-release updates package.json
node scripts/update-version.js
# 6. Deploy GitHub Pages
- name: Deploy GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./