Skip to content

Commit

Permalink
Add GitHub release action
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerilius committed Apr 28, 2024
1 parent 3a00004 commit 5e77691
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Release SketchUp extension

on:
push
# release:
# types:
# - created

jobs:
build_javascript:
name: Build JavaScript library
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
- name: Install dependencies
run: npm install
- name: Build JavaScript library
run: npm run build
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
path: src/ae_attribute_inspector/js/main.js

build_sketchup_extension:
name: Build SketchUp extension rbz package
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Ruby
uses: ruby/setup-ruby@v4
with:
ruby-version: '3.0'
- name: Install dependencies
run: bundle install
- name: Build package
run: bundle exec rake build_rbz
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
path: ae_attribute_inspector*.rbz

0 comments on commit 5e77691

Please sign in to comment.