fix: pipeline_fix #99
1 changed files with 6 additions and 0 deletions
6
.github/workflows/tf-acc-test.yaml
vendored
6
.github/workflows/tf-acc-test.yaml
vendored
|
|
@ -41,10 +41,13 @@ jobs:
|
||||||
|
|
||||||
- name: set start time
|
- name: set start time
|
||||||
id: start_time
|
id: start_time
|
||||||
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
time=$(date --rfc-3339=ns)
|
time=$(date --rfc-3339=ns)
|
||||||
|
echo "start_time=$time"
|
||||||
echo "start_time=$time" >> ${GITHUB_ENV}
|
echo "start_time=$time" >> ${GITHUB_ENV}
|
||||||
start=$(date +%s%N)
|
start=$(date +%s%N)
|
||||||
|
echo "start=$start"
|
||||||
echo "start=$start" >> ${GITHUB_ENV}
|
echo "start=$start" >> ${GITHUB_ENV}
|
||||||
|
|
||||||
- name: debug
|
- name: debug
|
||||||
|
|
@ -67,6 +70,7 @@ jobs:
|
||||||
- name: Run Test (workflow dispatch)
|
- name: Run Test (workflow dispatch)
|
||||||
if: ${{ forgejo.event_name == 'workflow_dispatch' }}
|
if: ${{ forgejo.event_name == 'workflow_dispatch' }}
|
||||||
id: manual_run
|
id: manual_run
|
||||||
|
continue-on-error: true
|
||||||
uses: ./.github/actions/acc_test
|
uses: ./.github/actions/acc_test
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GO_VERSION }}
|
go-version: ${{ env.GO_VERSION }}
|
||||||
|
|
@ -85,6 +89,7 @@ jobs:
|
||||||
- name: Run Test (automatic)
|
- name: Run Test (automatic)
|
||||||
if: ${{ forgejo.event_name != 'workflow_dispatch' }}
|
if: ${{ forgejo.event_name != 'workflow_dispatch' }}
|
||||||
id: automatic_run
|
id: automatic_run
|
||||||
|
continue-on-error: true
|
||||||
uses: ./.github/actions/acc_test
|
uses: ./.github/actions/acc_test
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GO_VERSION }}
|
go-version: ${{ env.GO_VERSION }}
|
||||||
|
|
@ -99,6 +104,7 @@ jobs:
|
||||||
|
|
||||||
- name: set end time
|
- name: set end time
|
||||||
id: end_time
|
id: end_time
|
||||||
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
echo "end_time=$(date --rfc-3339=ns)" >> ${GITHUB_ENV}
|
echo "end_time=$(date --rfc-3339=ns)" >> ${GITHUB_ENV}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue