Skip to content

Commit

Permalink
test1
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Metelkin committed Feb 23, 2024
1 parent 6d01d35 commit 6816a37
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: On release

on:
release:
types: [created]

jobs:
upload-release-asset:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16.x
- run: npm ci
- name: Build standalone apps
run: npm run pkg
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }} # This is part of the GitHub Actions context
asset_path: dist/heta-compiler-win.exe
asset_name: heta-compiler-win.exe
asset_content_type: application/octet-stream
2 changes: 1 addition & 1 deletion .github/workflows/standalone.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Autotests
name: Standalone

on:
push:
Expand Down

0 comments on commit 6816a37

Please sign in to comment.