Skip to content

Commit 95c9880

Browse files
authored
refactor (#5)
* version `1.0.0` * remove `command` * update dependencies * restructure action
1 parent 54a6bae commit 95c9880

File tree

7 files changed

+1331
-1706
lines changed

7 files changed

+1331
-1706
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,5 @@ jobs:
4242
password: ${{ secrets.CF_PASSWORD }}
4343
org: ${{ secrets.CF_ORG }}
4444
space: ${{ secrets.CF_SPACE }}
45-
command: stacks
4645
- name: access cloud foundry api
4746
run: cf stacks

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ This action provides the following functionality for GitHub Actions users:
99
- Client Credentials with JWT
1010
- JWT Bearer Token Grant
1111
- Target Org and Space
12-
- Run a cf command
1312

1413
## Basic usage
1514

@@ -18,15 +17,14 @@ See [action.yml](action.yml)
1817
```yaml
1918
steps:
2019
- uses: actions/checkout@v4
21-
- uses: vchrisb/setup-cf@v0
20+
- uses: vchrisb/setup-cf@v1
2221
with:
2322
api: ${{ secrets.CF_API }}
2423
username: ${{ secrets.CF_USERNAME }}
2524
password: ${{ secrets.CF_PASSWORD }}
2625
org: test
2726
space: dev
28-
command: push --strategy rolling
29-
- name: run command with shell
27+
- name: run cf command
3028
run: cf apps
3129
```
3230
@@ -42,8 +40,6 @@ steps:
4240
* client id for `client_credentals` or `jwt-bearer`
4341
* `client_secret`
4442
* client secret for `client_credentals` or `jwt-bearer`
45-
* `command`
46-
* run optionally a cf command
4743
* `grant_type`
4844
* grant type for access
4945
* required
@@ -66,7 +62,7 @@ steps:
6662
* `version`
6763
* cf cli version
6864
* required
69-
* default: `8.8.0`
65+
* default: `8.8.3`
7066

7167
## Advanced
7268

action.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ inputs:
1818
client_secret:
1919
description: "client secret"
2020
required: false
21-
command:
22-
description: "run cf command"
23-
required: false
2421
grant_type:
2522
description: "grant type for requesting token"
2623
required: true
@@ -43,7 +40,7 @@ inputs:
4340
version:
4441
description: "cf cli version"
4542
required: true
46-
default: "8.8.2"
43+
default: "8.8.3"
4744
runs:
4845
using: "node20"
4946
main: "dist/index.js"

0 commit comments

Comments
 (0)