Skip to content

Commit d3c820c

Browse files
author
Gary Miller
committed
testing gha
1 parent 37a4588 commit d3c820c

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

.github/workflows/docker-release.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ name: Docker Release
1010
on:
1111
push:
1212
branches: [main, docker-release-gha]
13-
workflow_dispatch:
14-
inputs:
15-
VERSION:
16-
description: 'Docker image version to build and push'
17-
required: false
1813

1914
jobs:
2015
docker:
@@ -26,11 +21,7 @@ jobs:
2621
- name: Get version
2722
id: version
2823
run: |
29-
if [ -n "${{ inputs.VERSION }}" ]; then
30-
echo "VERSION=${{ inputs.VERSION }}" >> "$GITHUB_OUTPUT"
31-
else
32-
echo "VERSION=$(cat packages/runtime/package.json | jq -r '.version')" >> "$GITHUB_OUTPUT"
33-
fi
24+
echo "VERSION=$(cat packages/runtime/package.json | jq -r '.version')" >> "$GITHUB_OUTPUT"
3425
3526
- name: Check if image already exists
3627
id: check

packages/runtime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ohm-js",
3-
"version": "18.0.0-beta.9",
3+
"version": "18.0.0-beta.9.a",
44
"description": "Ohm runtime — CST nodes, Grammar, and MatchResult",
55
"keywords": ["parser", "parsing", "ohm", "ohm-js", "runtime"],
66
"homepage": "https://github.com/ohmjs/ohm#readme",

0 commit comments

Comments
 (0)