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:
parent
68d24bc045
commit
f9df340a6a
Notes:
git
2020-10-06 11:41:43 +09:00
7 changed files with 0 additions and 31 deletions
2
.github/workflows/check_dependencies.yml
vendored
2
.github/workflows/check_dependencies.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
|
@ -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'
|
||||
|
|
3
.github/workflows/mingw.yml
vendored
3
.github/workflows/mingw.yml
vendored
|
@ -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:
|
||||
|
|
2
.github/workflows/mjit.yml
vendored
2
.github/workflows/mjit.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/ubuntu.yml
vendored
2
.github/workflows/ubuntu.yml
vendored
|
@ -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
|
||||
|
|
3
.github/workflows/windows.yml
vendored
3
.github/workflows/windows.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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)"
|
Loading…
Add table
Reference in a new issue