Skip to content

Commit

Permalink
Merge pull request #10 from technote-space/technote-space-patch-1
Browse files Browse the repository at this point in the history
chore: tweaks
  • Loading branch information
technote-space committed Sep 25, 2019
2 parents 3606dab + 834fd8d commit 0f33c6e
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 51 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/released.yml
Expand Up @@ -12,11 +12,6 @@ jobs:
- uses: actions/checkout@v1
with:
fetch-depth: 3
- name: Check package version
uses: technote-space/ga-package-version-checker@test/v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TEST_TAG_PREFIX: test/
- name: Release GitHub Actions
uses: technote-space/release-github-actions@test/v1
with:
Expand Down
46 changes: 23 additions & 23 deletions README.ja.md
Expand Up @@ -15,8 +15,8 @@

- [スクリーンショット](#%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88)
- [インストール](#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
- [リリースプロセスで使用](#%E3%83%AA%E3%83%AA%E3%83%BC%E3%82%B9%E3%83%97%E3%83%AD%E3%82%BB%E3%82%B9%E3%81%A7%E4%BD%BF%E7%94%A8)
- [プッシュ時に使用](#%E3%83%97%E3%83%83%E3%82%B7%E3%83%A5%E6%99%82%E3%81%AB%E4%BD%BF%E7%94%A8)
- [リリースプロセスで使用](#%E3%83%AA%E3%83%AA%E3%83%BC%E3%82%B9%E3%83%97%E3%83%AD%E3%82%BB%E3%82%B9%E3%81%A7%E4%BD%BF%E7%94%A8)
- [オプション](#%E3%82%AA%E3%83%97%E3%82%B7%E3%83%A7%E3%83%B3)
- [BRANCH_PREFIX](#branch_prefix)
- [COMMIT_DISABLED](#commit_disabled)
Expand Down Expand Up @@ -44,6 +44,28 @@
![Updated](https://raw.githubusercontent.com/technote-space/ga-package-version-checker/images/screenshot-2.png)

## インストール
### プッシュ時に使用
例:`.github/workflows/check_version.yml`
```yaml
on: push
name: Check package version
jobs:
checkVersion:
name: Check package version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 3

# Use this GitHub Action
- name: Check package version
uses: technote-space/ga-package-version-checker@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_PREFIX: release/
```

### リリースプロセスで使用
例:`.github/workflows/release.yml`
```yaml
Expand Down Expand Up @@ -80,28 +102,6 @@
args: publish
```

### プッシュ時に使用
例:`.github/workflows/check_version.yml`
```yaml
on: push
name: Check package version
jobs:
checkVersion:
name: Check package version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 3

# Use this GitHub Action
- name: Check package version
uses: technote-space/ga-package-version-checker@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_PREFIX: release/
```

## オプション
### BRANCH_PREFIX
ブランチプリフィックス
Expand Down
46 changes: 23 additions & 23 deletions README.md
Expand Up @@ -15,8 +15,8 @@ GitHub Action to check package version before publish.

- [Screenshots](#screenshots)
- [Installation](#installation)
- [Used in the release process](#used-in-the-release-process)
- [Used when push](#used-when-push)
- [Used in the release process](#used-in-the-release-process)
- [Options](#options)
- [BRANCH_PREFIX](#branch_prefix)
- [COMMIT_DISABLED](#commit_disabled)
Expand Down Expand Up @@ -44,6 +44,28 @@ GitHub Action to check package version before publish.
![Updated](https://raw.githubusercontent.com/technote-space/ga-package-version-checker/images/screenshot-2.png)

## Installation
### Used when push
e.g. `.github/workflows/check_version.yml`
```yaml
on: push
name: Check package version
jobs:
checkVersion:
name: Check package version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 3

# Use this GitHub Action
- name: Check package version
uses: technote-space/ga-package-version-checker@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_PREFIX: release/
```

### Used in the release process
e.g. `.github/workflows/release.yml`
```yaml
Expand Down Expand Up @@ -80,28 +102,6 @@ GitHub Action to check package version before publish.
args: publish
```

### Used when push
e.g. `.github/workflows/check_version.yml`
```yaml
on: push
name: Check package version
jobs:
checkVersion:
name: Check package version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 3

# Use this GitHub Action
- name: Check package version
uses: technote-space/ga-package-version-checker@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_PREFIX: release/
```

## Options
### BRANCH_PREFIX
Branch name prefix.
Expand Down

0 comments on commit 0f33c6e

Please sign in to comment.