Skip to content

Commit

Permalink
update .github/actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cbarbian-sap committed Jul 6, 2023
1 parent 2af5192 commit 2075869
Show file tree
Hide file tree
Showing 9 changed files with 20,027 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/actions/get-highest-tag/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.idea
*.swp
*.swo
*~

node_modules
7 changes: 7 additions & 0 deletions .github/actions/get-highest-tag/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.PHONY: build
build:
npm ci
ncc build src/index.js --license licenses.txt



13 changes: 13 additions & 0 deletions .github/actions/get-highest-tag/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Get highest tag
description: Get highest semver tag in current repository
inputs:
prefix:
description: Tag prefix (only tags with that prefix are considered)
outputs:
tag:
description: Highest tag (according to semver ordering)
version:
description: Highest version (i.e. determined highest tag, stripped by prefix)
runs:
using: node16
main: dist/index.js
Loading

0 comments on commit 2075869

Please sign in to comment.