Skip to content

Commit d934a0c

Browse files
committed
Add on conditions to CI (latest) and CI (master) workflows.
1 parent 87985f2 commit d934a0c

4 files changed

Lines changed: 14 additions & 6 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ If applicable, add screenshots to help explain your problem.
2525

2626
**Technical information (please complete the following information):**
2727
- OS: [e.g. Windows 10 Enterprise v.1909 (OS Build 18363.720)]
28-
- `pascal-action` version [e.g. 1.0.1]
28+
- `pascal-action` version [e.g. 1.0.2]
2929

3030
**Additional context**
3131
Add any other context about the problem here.

.github/workflows/ci-lastest.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
---
22
name: CI (latest)
33

4-
on: push
4+
on:
5+
push:
6+
tags:
7+
- 'v*.*.*'
58

69
jobs:
710
functional_tests:
@@ -11,8 +14,8 @@ jobs:
1114
steps:
1215
- uses: actions/checkout@v2.1.0
1316
with:
14-
ref: v1.0.1
15-
- uses: fabasoad/pascal-action@v1.0.1
17+
ref: ${{ github.ref }}
18+
- uses: fabasoad/pascal-action@v1.0.2
1619
id: pascal
1720
with:
1821
path: ./HelloWorld.pas

.github/workflows/ci-master.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
---
22
name: CI (master)
33

4-
on: push
4+
on:
5+
push:
6+
branches:
7+
- master
8+
pull_request:
9+
branches:
10+
- master
511

612
jobs:
713
functional_tests:

CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ This repository has issue templates for bug report and feature request. Please u
3232
## Use a Consistent Coding Style
3333
Please follow all the rules from the following documents:
3434
- [Bash coding style](https://github.com/icy/bash-coding-style) provided by [icy](https://github.com/icy).
35-
- [Ruby coding style](https://www.w3resource.com/ruby/ruby-style-guide.php) provided by w3resource.
3635

3736
## License
3837
By contributing, you agree that your contributions will be licensed under its MIT License.

0 commit comments

Comments
 (0)