Skip to content

Commit 9032c5a

Browse files
committed
Fix publish.yml (2)
1 parent 64761c5 commit 9032c5a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Publish
33
on:
44
release:
55
types: [published]
6-
workflow_dispatch:
76

87
jobs:
98
build:
@@ -59,9 +58,9 @@ jobs:
5958
REPO: self
6059
BRANCH: jsoo-stdlib
6160
FOLDER: dist_jsoo
62-
TAG: jsoo-stdlib-${{ github.ref }}
61+
TAG: jsoo-stdlib-${{ github.event.release.tag_name }}
6362
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64-
MESSAGE: "Build {sha}:\n{msg}"
63+
MESSAGE: "Build ({sha}) {msg}"
6564

6665
- name: NPM Publish
6766
if: success()

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,3 +304,4 @@ test/jsoo/src/stub.js
304304

305305
# Dist artifacts
306306
dist
307+
dist_jsoo/src/ts2ocaml_*.ml*

dist_jsoo/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ _opam
55
.vscode
66
build
77
node_modules
8-
src/ts2ocaml_*.ml*
8+
test

0 commit comments

Comments
 (0)