1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove unused commit_info

This commit is contained in:
Kazuhiro NISHIYAMA 2020-10-06 10:23:54 +09:00 committed by Kazuhiro NISHIYAMA
parent 68d24bc045
commit f9df340a6a
Notes: git 2020-10-06 11:41:43 +09:00
7 changed files with 0 additions and 31 deletions

View file

@ -20,8 +20,6 @@ jobs:
- uses: actions/checkout@v2
with:
path: src
- run: ./src/tool/actions-commit-info.sh
id: commit_info
- name: Fixed world writable dirs
run: |
chmod -v go-w $HOME $HOME/.config

View file

@ -21,8 +21,6 @@ jobs:
- uses: actions/checkout@v2
with:
path: src
- run: ./src/tool/actions-commit-info.sh
id: commit_info
- name: Install libraries
run: |
export WAITS='5 60'

View file

@ -32,9 +32,6 @@ jobs:
- uses: actions/checkout@v2
with:
path: src
- run: ./src/tool/actions-commit-info.sh
shell: bash
id: commit_info
- name: Set up Ruby & MSYS2
uses: MSP-Greg/setup-ruby-pkgs@v1
with:

View file

@ -25,8 +25,6 @@ jobs:
- uses: actions/checkout@v2
with:
path: src
- run: ./src/tool/actions-commit-info.sh
id: commit_info
- name: Fixed world writable dirs
run: |
chmod -v go-w $HOME $HOME/.config

View file

@ -40,8 +40,6 @@ jobs:
- uses: actions/checkout@v2
with:
path: src
- run: ./src/tool/actions-commit-info.sh
id: commit_info
- name: Fixed world writable dirs
run: |
chmod -v go-w $HOME $HOME/.config

View file

@ -40,9 +40,6 @@ jobs:
- uses: actions/checkout@v2
with:
path: src
- run: ./src/tool/actions-commit-info.sh
shell: bash
id: commit_info
- run: md build
shell: cmd
- name: Configure

View file

@ -1,17 +0,0 @@
#!/bin/bash
set -euo pipefail
cd $(dirname "$0")/..
set_output () {
echo "$1=$2"
echo "::set-output name=$1::$2"
}
COMMIT_TIMESTAMP="$(git log -1 --format=%ct)"
set_output "COMMIT_TIMESTAMP" "$COMMIT_TIMESTAMP"
LOGS=$(TZ=UTC git log --since='0:00' --date=iso-local --format='%cd %s')
echo "commits of today:"
echo "$LOGS"
COUNT=$(echo "$LOGS" | wc -l)
# strip spaces
COUNT=$((0 + COUNT))
set_output "COMMIT_NUMBER_OF_DAY" "$COUNT"
set_output "COMMIT_DATE" "$(TZ=UTC git log --since='0:00' --date=short-local --format=%cd -1)"