Skip to content

Commit 53da427

Browse files
committed
Use pypi to install qiita-sync
1 parent e23f701 commit 53da427

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ All notable changes to this project will be documented in this file.
3131
The format is based on [Keep a Changelog](http://keepachangelog.com/)
3232
and this project adheres to [Semantic Versioning](http://semver.org/).
3333

34-
## [Unreleased]
34+
## 1.1.0 - 2021-01-09
3535

3636
### Added
3737

@@ -46,6 +46,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4646

4747
### Changed
4848

49+
- Changed to use pip when installing qiita-sync in GitHub Actions
4950
- Changed Python version to 3.7 and 3.10.1 in GitHub Actions
5051
- Changed project information in pyproject.toml
5152
- Changed .gitignore to exlucde dist directory

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ See more details [Qiita-Sync Command Usage](https://github.com/ryokat3/qiita-syn
3939
- `.github/workflow/qiita_sync.yml`
4040
- `.github/workflow/qiita_sync_check.yml`
4141

42-
**NOTE**: Change the cron time `cron: "29 17 * * *"` of `qiita_sync_check.yml` when the this action is sheduled to be executed.
43-
This example indicates that this action is executed every day at 17:29 UTC, which is kind of inactive time for me who is living in Japan.
42+
**NOTE**: Change the cron time `cron: "29 17 * * *"` of `qiita_sync_check.yml` which is the time when this action is sheduled to be executed.
43+
`29 17 * * *` indicates that this action is executed every day at 17:29 UTC, which is kind of inactive time for me who is living in Japan.
4444
Please adjust it to your convenience.
4545

4646
3. Push them to GitHub

github_actions/qiita_sync.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
python-version: '3.9'
2020
- name: Install qiita-sync
2121
run: |
22-
curl -OL https://raw.githubusercontent.com/ryokat3/qiita-sync/v1.0.0/qiita_sync/qiita_sync.py
22+
python -m pip install qiita-sync
2323
- name: Run qiita-sync
2424
run: |
25-
python qiita_sync.py sync .
25+
qiita_sync sync .
2626
env:
2727
QIITA_ACCESS_TOKEN: ${{ secrets.QIITA_ACCESS_TOKEN }}
2828
- name: Git

github_actions/qiita_sync_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
python-version: '3.9'
2323
- name: Install qiita-sync
2424
run: |
25-
curl -OL https://raw.githubusercontent.com/ryokat3/qiita-sync/v1.0.0/qiita_sync/qiita_sync.py
25+
python -m pip install qiita-sync
2626
- name: Run qiita-sync check
2727
run: |
28-
python qiita_sync.py check . > ./qiita_sync_output.txt
28+
qiita_sync check . > ./qiita_sync_output.txt
2929
cat ./qiita_sync_output.txt
3030
[ ! -s "qiita_sync_output.txt" ] || exit 1
3131
env:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "qiita-sync"
3-
version = "1.0.8"
3+
version = "1.1.0"
44
description = "Synchronize GitHub with Qiita"
55
authors = ["Ryoji Kato <ryokat3@gmail.com>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)