Skip to content

Commit 2bf5fbd

Browse files
authored
Revert "Rewrite the action as a javascript action (#91)" (#94)
This reverts commit d7aaa34.
1 parent d7aaa34 commit 2bf5fbd

14 files changed

+214
-32548
lines changed

.trunk/trunk.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ lint:
3232
- trufflehog@3.86.0
3333
- trunk-toolbox@0.5.4
3434
- yamllint@1.35.1
35-
ignore:
36-
- linters: [ALL]
37-
paths:
38-
- dist
3935
actions:
4036
definitions:
4137
- id: test-pre-push

__fixtures__/core.ts

-9
This file was deleted.

__tests__/arguments.test.ts

-77
This file was deleted.

action.yaml

+21-5
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,29 @@ inputs:
4747
hide-banner:
4848
description: Whether to hide the top level flaky tests banner
4949
required: false
50-
github-token:
51-
description: The GitHub token used to create an authenticated client
52-
default: ${{ github.token }}
5350
variant:
5451
description: User specified variant of a set of tests being uploaded.
5552
required: false
5653

5754
runs:
58-
using: node20
59-
main: dist/index.js
55+
using: composite
56+
steps:
57+
- name: Upload test results
58+
run: ${GITHUB_ACTION_PATH}/script.sh ${{ inputs.run }}
59+
shell: bash
60+
env:
61+
JUNIT_PATHS: ${{ inputs.junit-paths }}
62+
ORG_URL_SLUG: ${{ inputs.org-slug }}
63+
INPUT_TOKEN: ${{ inputs.token }}
64+
REPO_HEAD_BRANCH: ${{ inputs.repo-head-branch }}
65+
REPO_ROOT: ${{ inputs.repo-root }}
66+
TAGS: ${{ inputs.tags }}
67+
CLI_VERSION: ${{ inputs.cli-version }}
68+
TEAM: ${{ inputs.team }}
69+
QUARANTINE: ${{ inputs.quarantine }}
70+
XCRESULT_PATH: ${{ inputs.xcresult-path }}
71+
ALLOW_MISSING_JUNIT_FILES: ${{ inputs.allow-missing-junit-files }}
72+
BAZEL_BEP_PATH: ${{ inputs.bazel-bep-path }}
73+
PR_TITLE: ${{ github.event.pull_request.title }}
74+
HIDE_BANNER: ${{ inputs.hide-banner }}
75+
VARIANT: ${{ inputs.variant }}

0 commit comments

Comments
 (0)