Convert simple-icons manual backup from submodule to tracked files
This commit is contained in:
16
logos/simple-icons.manual-backup-20251123-234134/.github/actions/get-version/action.yml
vendored
Normal file
16
logos/simple-icons.manual-backup-20251123-234134/.github/actions/get-version/action.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Get version
|
||||
description: Get the current version of the project
|
||||
|
||||
outputs:
|
||||
version:
|
||||
description: The version of the project
|
||||
value: ${{ steps.get-version.outputs.version }}
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- id: get-version
|
||||
shell: sh
|
||||
run: |
|
||||
version="$(grep version -m 1 -i package.json | cut -d '"' -f4)"
|
||||
echo "version=$version" >> $GITHUB_OUTPUT
|
||||
Reference in New Issue
Block a user