Skip to content

Commit 6aa1acb

Browse files
⬆️ Update template-action version to v1.0.0 (#94)
Co-authored-by: ChristophShyper <45788587+ChristophShyper@users.noreply.github.com>
1 parent 700e852 commit 6aa1acb

3 files changed

Lines changed: 15 additions & 6 deletions

File tree

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
```yaml
3535
- name: Run the Action
36-
uses: devops-infra/template-action@v0
36+
uses: devops-infra/template-action@v1
3737
env:
3838
barfoo: foobaz
3939
with:
@@ -79,7 +79,7 @@ jobs:
7979
runs-on: ubuntu-latest
8080
steps:
8181
- uses: actions/checkout@v5
82-
- uses: devops-infra/template-action@v0
82+
- uses: devops-infra/template-action@v1
8383
```
8484
8585
### 🔀 Advanced
@@ -93,14 +93,15 @@ jobs:
9393
runs-on: ubuntu-latest
9494
steps:
9595
- uses: actions/checkout@v5
96-
- uses: devops-infra/template-action@v0
96+
- uses: devops-infra/template-action@v1
9797
with:
9898
foobar: hello
9999
debug: 'true'
100100
```
101101
102102
### 🎯 Use specific version
103103
Run the Action with a specific version tag.
104+
104105
```yaml
105106
name: Run the Action on each commit
106107
on: [push]
@@ -109,7 +110,15 @@ jobs:
109110
runs-on: ubuntu-latest
110111
steps:
111112
- uses: actions/checkout@v5
112-
- uses: devops-infra/template-action@v0.1.2
113+
114+
- uses: devops-infra/template-action@v1.0.0
115+
id: Pin patch version
116+
117+
- uses: devops-infra/template-action@v1.0
118+
id: Pin minor version
119+
120+
- uses: devops-infra/template-action@v1
121+
id: Pin major version
113122
```
114123
115124

Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: '3'
22

3-
silent: false
3+
silent: true
44

55
includes:
66
variables: ./Taskfile.variables.yml

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ outputs:
2020
description: Echo of input 'foobar'
2121
runs:
2222
using: docker
23-
image: docker://devopsinfra/template-action:v0.1.2
23+
image: docker://devopsinfra/template-action:v1.0.0
2424
branding:
2525
color: purple
2626
icon: upload-cloud

0 commit comments

Comments
 (0)