Skip to content

Commit

Permalink
Merge pull request #16 from ad-m/action-syntax
Browse files Browse the repository at this point in the history
Add tests for Action syntax
  • Loading branch information
ad-m authored Oct 14, 2019
2 parents 4213c83 + 39c71a7 commit 5284064
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Action CI

on: [push]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Build Docker image
run: docker build . --tag my-image-name:$(date +%s)
- name: Verify action syntax
# The action should not publish any real changes, but should succeed.
uses: './'
with:
github_token: '${{ secrets.GITHUB_TOKEN }}'
branch: '${{ github.ref }}'
14 changes: 0 additions & 14 deletions .github/workflows/dockerimage.yml

This file was deleted.

0 comments on commit 5284064

Please sign in to comment.