Skip to content

Commit

Permalink
Add tests for Action syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-m committed Oct 10, 2019
1 parent 10b2be7 commit 1accc1a
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 1accc1a

Please sign in to comment.