Skip to content

Commit 5284064

Browse files
authored
Merge pull request #16 from ad-m/action-syntax
Add tests for Action syntax
2 parents 4213c83 + 39c71a7 commit 5284064

2 files changed

Lines changed: 20 additions & 14 deletions

File tree

.github/workflows/build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Action CI
2+
3+
on: [push]
4+
5+
jobs:
6+
7+
build:
8+
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v1
13+
- name: Build Docker image
14+
run: docker build . --tag my-image-name:$(date +%s)
15+
- name: Verify action syntax
16+
# The action should not publish any real changes, but should succeed.
17+
uses: './'
18+
with:
19+
github_token: '${{ secrets.GITHUB_TOKEN }}'
20+
branch: '${{ github.ref }}'

.github/workflows/dockerimage.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)