Skip to content
This repository was archived by the owner on Aug 4, 2024. It is now read-only.

Commit 8eb7ea0

Browse files
committed
Fix CI
1 parent 3cded56 commit 8eb7ea0

File tree

1 file changed

+4
-23
lines changed

1 file changed

+4
-23
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ on:
1414
type: boolean
1515

1616
permissions:
17-
contents: write
17+
contents: read
18+
issues: write
19+
checks: write
20+
pull-requests: write
1821

1922
jobs:
2023
test:
@@ -94,28 +97,6 @@ jobs:
9497
check_name: Unit Test results
9598
files: artifacts/unit-test-*/**/*.xml
9699

97-
# Publishes the test results of 'build-and-release'
98-
publish-release-results:
99-
name: Publish release results
100-
if: inputs.is-a-release == true
101-
needs: build-and-release
102-
runs-on: ubuntu-latest
103-
permissions:
104-
contents: read
105-
issues: read
106-
checks: write
107-
pull-requests: write
108-
steps:
109-
- name: Download artifacts
110-
uses: actions/download-artifact@v3
111-
with:
112-
path: artifacts
113-
- name: Publish test results
114-
uses: EnricoMi/publish-unit-test-result-action@v2
115-
with:
116-
check_name: Unit Test results
117-
files: artifacts/unit-test-*/**/*.xml
118-
119100
# Builds the projects and attempts to publish a release if the current project version
120101
# does not match any existing tags in the repository.
121102
build-and-release:

0 commit comments

Comments
 (0)