Skip to content

Commit

Permalink
Added github action
Browse files Browse the repository at this point in the history
  • Loading branch information
aadi123 committed Oct 10, 2023
1 parent b1923a7 commit 22ca865
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: "pre-release"

on:
push:
branches:
- "main"

jobs:
pre-release:
name: "Pre Release"
runs-on: "ubuntu-latest"

steps:
# ...
- name: "Build & test"
run: |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
wasm-pack build --target web
- uses: "aadi123/Crustacean@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
pkg/*

0 comments on commit 22ca865

Please sign in to comment.