Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
wilmveel committed Oct 20, 2023
2 parents 3e9c529 + 689c7b8 commit f13a288
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/actions/version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
name: Version number
shell: bash
run: |
if [[ "${{ inputs.version }}" =~ ^v[0-9]\.[0-9]\.[0-9]$ ]]
if [[ "${{ inputs.version }}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]
then
echo "version number valid: ${{ inputs.version }}"
version="${{ inputs.version }}"
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: wirespec-cli-linux
path: compiler/cli/build/bin/linuxX64/releaseExecutable/cli.kexe
path: src/compiler/cli/build/bin/linuxX64/releaseExecutable/cli.kexe
- name: Archive vscode extension
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -80,12 +80,12 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: wirespec-cli-macos-x86
path: compiler/cli/build/bin/macosX64/releaseExecutable/cli.kexe
path: src/compiler/cli/build/bin/macosX64/releaseExecutable/cli.kexe
- name: Archive macosArm64 cli
uses: actions/upload-artifact@v3
with:
name: wirespec-cli-macos-arm64
path: compiler/cli/build/bin/macosArm64/releaseExecutable/cli.kexe
path: src/compiler/cli/build/bin/macosArm64/releaseExecutable/cli.kexe

version:

Expand Down Expand Up @@ -288,6 +288,7 @@ jobs:
run: |
./gradlew :src:compiler:core:publish
./gradlew :src:compiler:lib:publish
./gradlew :src:openapi:publish
release-lib-npm:

Expand Down Expand Up @@ -317,6 +318,6 @@ jobs:
run: |
./gradlew :src:compiler:lib:build
- name: Build
working-directory: ./build/js
working-directory: ./src/compiler/lib/build/dist/js/productionLibrary
run: |
npm publish --access public
4 changes: 2 additions & 2 deletions src/compiler/lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ repositories {
}

kotlin {
js(IR) {
js {
nodejs()
binaries.library()
compilations["main"].packageJson {
customField("name", "@flock/wirespec")
customField("bin", mapOf("wirespec" to "kotlin/wirespec-bin.js"))
customField("bin", mapOf("wirespec" to "wirespec-bin.js"))
}
}

Expand Down

0 comments on commit f13a288

Please sign in to comment.