Skip to content

Commit

Permalink
Merge pull request #173 from pagarme/update-action
Browse files Browse the repository at this point in the history
Update action
  • Loading branch information
fabiano-amaral authored Nov 5, 2022
2 parents be7983a + 10822aa commit f894a54
Show file tree
Hide file tree
Showing 4 changed files with 1,103 additions and 922 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: "units-test"
name: "build"
on: [push]

jobs:
units:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: npm ci
- run: npm test
10 changes: 5 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: 'ecs task definition replacements'
description: 'get the currently running task definition, replace values (like image)'
inputs:
cluster-name: # id of input
cluster-name:
description: cluster that service is running
required: true
service-name: # id of input
service-name:
description: service to get current running task definition
required: false
task-name: # id of input
task-name:
description: task family to get the latest task definition revision
required: false
replacements: # id of input
replacements:
description: "JSON between '' eg '{\"name\": \"Andrew\"}'"
required: true

outputs:
taskDef:
description: 'Path to the new json file'
runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'
Loading

0 comments on commit f894a54

Please sign in to comment.