Skip to content

Commit 7ae0835

Browse files
committed
Use the new report-status-in-issue action instead of ad hoc script
1 parent a89b0f5 commit 7ae0835

File tree

2 files changed

+6
-115
lines changed

2 files changed

+6
-115
lines changed

.github/NativeBuildReport.java

Lines changed: 0 additions & 100 deletions
This file was deleted.

.github/workflows/native-build-development.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -120,18 +120,9 @@ jobs:
120120
- uses: actions/checkout@v4
121121
with:
122122
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.ref || 'development' }}
123-
- name: Report
124-
env:
125-
GITHUB_TOKEN: ${{ secrets.GITHUB_API_TOKEN }}
126-
STATUS: ${{ needs.build-with-native.result }}
127-
run: |
128-
echo "The report step got status: ${STATUS}"
129-
sudo apt-get update -o Dir::Etc::sourcelist="sources.list" \
130-
-o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
131-
sudo apt-get install -y gnupg2 gnupg-agent
132-
echo Installing SDKMAN
133-
curl -s "https://get.sdkman.io" | bash
134-
source ~/.sdkman/bin/sdkman-init.sh
135-
sed -i -e 's/sdkman_auto_answer=false/sdkman_auto_answer=true/g' ~/.sdkman/etc/config
136-
sdk install jbang 0.50.1
137-
jbang .github/NativeBuildReport.java token="${GITHUB_TOKEN}" status="${STATUS}" issueRepo="quarkusio/quarkus" issueNumber="6588" thisRepo="${GITHUB_REPOSITORY}" runId="${GITHUB_RUN_ID}"
123+
- uses: quarkusio/report-status-in-issue@main
124+
with:
125+
github-token: ${{ secrets.GITHUB_API_TOKEN }}
126+
status: ${{ needs.build-with-native.result }}
127+
issue-repository: quarkusio/quarkus
128+
issue-number: 6588

0 commit comments

Comments
 (0)