Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(action): (#1) add test
  • Loading branch information
AndreasAugustin committed May 22, 2020
commit e3c4afb939a432b9337ce1e97281d10c08613ec2
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: test

on: [push]

jobs:
test-implementation-job:
runs-on: ubuntu-latest
name: Test
steps:
# To use this repository's private action, you must check out the repository
- name: Checkout
uses: actions/checkout@v2
- name: Hello world action step
uses: ./ # Uses an action in the root directory
id: hello
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
7 changes: 3 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ inputs:
github_token:
description: 'Token for the repo. Can be passed in using $\{{ secrets.GITHUB_TOKEN }}'
required: true
repository:
description: 'Repository name to push. Default or empty value represents current github repository (${GITHUB_REPOSITORY})'
source_repo:
description: 'Repository source of the. Default or empty value represents current github repository (${GITHUB_REPOSITORY})'
required: true
runs:
using: 'docker'
main: 'src/Dockerfile'
env:
GITHUB_TOKEN: ${{ inputs.github_token }}
args:
- ${{ inputs.source_repo }}
SOURCE_REPO: ${{ inputs.source_repo }}