Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
kla committed Dec 24, 2023
1 parent 4899287 commit 0a81497
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Create Release"
on:
workflow_dispatch:
inputs:
version:
description: Version Number
required: true
jobs:
package:
name: Package Container
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
- run: bin/setup
- run: bin/publish
release:
name: Release
needs: package
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: ncipollo/release-action@v1
with:
tag: v${{ github.event.inputs.version }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Kien La",
"email": "[email protected]"
},
"version": "0.6.0",
"version": "0.6.1",
"repository": "https://github.com/kla/digits",
"type": "module",
"main": "./dist/digits.umd.mjs",
Expand Down

0 comments on commit 0a81497

Please sign in to comment.