summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/check_dependencies.yml2
-rw-r--r--.github/workflows/macos.yml2
-rw-r--r--.github/workflows/mingw.yml3
-rw-r--r--.github/workflows/mjit.yml2
-rw-r--r--.github/workflows/ubuntu.yml2
-rw-r--r--.github/workflows/windows.yml3
-rwxr-xr-xtool/actions-commit-info.sh17
7 files changed, 0 insertions, 31 deletions
diff --git a/.github/workflows/check_dependencies.yml b/.github/workflows/check_dependencies.yml
index b79eacf623..84e1219831 100644
--- a/.github/workflows/check_dependencies.yml
+++ b/.github/workflows/check_dependencies.yml
@@ -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
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 6941dd443a..40f4d9d90f 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -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'
diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml
index 9726c69cd8..8aacb7238f 100644
--- a/.github/workflows/mingw.yml
+++ b/.github/workflows/mingw.yml
@@ -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:
diff --git a/.github/workflows/mjit.yml b/.github/workflows/mjit.yml
index 9763c8b041..ff2d5d986b 100644
--- a/.github/workflows/mjit.yml
+++ b/.github/workflows/mjit.yml
@@ -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
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 16e21063b2..8c879fee17 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -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
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 2dff4c7369..32817279d3 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -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
diff --git a/tool/actions-commit-info.sh b/tool/actions-commit-info.sh
deleted file mode 100755
index 56f857c1d9..0000000000
--- a/tool/actions-commit-info.sh
+++ /dev/null
@@ -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)"