Skip to content

Commit

Permalink
feat: remove item from action
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
fredbradley authored Feb 25, 2021
2 parents 9a2962a + 06f05e4 commit af6c5ac
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 15 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/bumpandrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ jobs:
tag_prefix: v
dry_run: true

- name: Set npm package version
uses: reedyuk/npm-version@1.0.1
with:
version: ${{ steps.tag_version.outputs.new_version }}

- name: Commit & push version bumping on package*.json
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: master
file_pattern: package*.json
commit_message: 'chore(release): Automated version bumping to ${{ steps.tag_version.outputs.new_tag }}'
commit_user_name: GitHub Actions
commit_user_email: actions@github.com
# - name: Set npm package version
# uses: reedyuk/npm-version@1.0.1
# with:
# version: ${{ steps.tag_version.outputs.new_version }}
#
# - name: Commit & push version bumping on package*.json
# uses: stefanzweifel/git-auto-commit-action@v4
# with:
# branch: master
# file_pattern: package*.json
# commit_message: 'chore(release): Automated version bumping to ${{ steps.tag_version.outputs.new_tag }}'
# commit_user_name: GitHub Actions
# commit_user_email: actions@github.com

- name: Get updated commit SHA
run: |
Expand Down
23 changes: 21 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,34 @@
<?php

/**
* @param string $string
*
* @return string
*/
function test(string $string): string
{
return $string;
}

/**
* @param int $int
*
* @return int
*/
function testAgain(int $int): int
{
return $int;
}

function isInt($var):bool
/**
* @param $var
*
* @return bool
*/
function isInt($var): bool
{
return true;
if ($var instanceof int) {
return true;
}
return false;
}

0 comments on commit af6c5ac

Please # to comment.