Skip to content

Commit

Permalink
replaced by content of TypeScript template
Browse files Browse the repository at this point in the history
  • Loading branch information
samberger committed Mar 19, 2024
1 parent d0618b9 commit b307b3d
Show file tree
Hide file tree
Showing 24 changed files with 3,632 additions and 2,229 deletions.
43 changes: 0 additions & 43 deletions .devcontainer/devcontainer.json

This file was deleted.

1 change: 0 additions & 1 deletion .env.example

This file was deleted.

22 changes: 8 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
- name: Use Node.js
uses: actions/setup-node@v4
with:
python-version: '3.11'
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.3.2
virtualenvs-create: false
virtualenvs-in-project: false
installer-parallel: true
node-version: '18.x'
- name: Restore dependencies
run: poetry install --no-root
run: npm ci
- name: Extract functionInputSchema
id: extract_schema
run: |
python main.py generate_schema ${HOME}/${{ env.FUNCTION_SCHEMA_FILE_NAME }}
npm run generateSchema ${HOME}/${{ env.FUNCTION_SCHEMA_FILE_NAME }}
- name: Speckle Automate Function - Build and Publish
uses: specklesystems/speckle-automate-github-composite-action@0.8.1
uses: specklesystems/speckle-automate-github-composite-action@0.7.2
with:
speckle_automate_url: ${{ env.SPECKLE_AUTOMATE_URL || 'https://automate.speckle.dev' }}
speckle_automate_url: 'https://automate.speckle.dev'
speckle_token: ${{ secrets.SPECKLE_FUNCTION_TOKEN }}
speckle_function_id: ${{ secrets.SPECKLE_FUNCTION_ID }}
speckle_function_input_schema_file_path: ${{ env.FUNCTION_SCHEMA_FILE_NAME }}
speckle_function_command: 'python -u main.py run'
speckle_function_command: 'node index.js'
Loading

0 comments on commit b307b3d

Please sign in to comment.