forked from ZanSara/write-version-to-file
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaction.yml
More file actions
24 lines (24 loc) · 662 Bytes
/
action.yml
File metadata and controls
24 lines (24 loc) · 662 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: 'Write Tag to Version File'
author: 'Brett Dorrans'
description: 'A GitHub Action that fetches the latest release tag within a repo and writes this to a file'
inputs:
filename:
description: 'The filename to write the version tag to'
required: true
placeholder:
description: 'The placeholder to replace with latest git tag'
required: false
default: '${VERSION}'
tag:
description: 'The release tag to replace the placeholder'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.filename }}
- ${{ inputs.placeholder }}
- ${{ inputs.tag }}
branding:
icon: 'hash'
color: 'orange'