Skip to content

Commit

Permalink
Merge pull request #1491 from gsmet/new-github-action
Browse files Browse the repository at this point in the history
Use the new report-status-in-issue action instead of ad hoc script
  • Loading branch information
gsmet authored Jan 17, 2025
2 parents b1a3d82 + 01f3905 commit 931c9af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 115 deletions.
100 changes: 0 additions & 100 deletions .github/NativeBuildReport.java

This file was deleted.

21 changes: 6 additions & 15 deletions .github/workflows/native-build-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,9 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.ref || 'development' }}
- name: Report
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_API_TOKEN }}
STATUS: ${{ needs.build-with-native.result }}
run: |
echo "The report step got status: ${STATUS}"
sudo apt-get update -o Dir::Etc::sourcelist="sources.list" \
-o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
sudo apt-get install -y gnupg2 gnupg-agent
echo Installing SDKMAN
curl -s "https://get.sdkman.io" | bash
source ~/.sdkman/bin/sdkman-init.sh
sed -i -e 's/sdkman_auto_answer=false/sdkman_auto_answer=true/g' ~/.sdkman/etc/config
sdk install jbang 0.122.0
jbang .github/NativeBuildReport.java token="${GITHUB_TOKEN}" status="${STATUS}" issueRepo="quarkusio/quarkus" issueNumber="6588" thisRepo="${GITHUB_REPOSITORY}" runId="${GITHUB_RUN_ID}"
- uses: quarkusio/report-status-in-issue@main
with:
github-token: ${{ secrets.GITHUB_API_TOKEN }}
status: ${{ needs.build-with-native.result }}
issue-repository: quarkusio/quarkus
issue-number: 6588

0 comments on commit 931c9af

Please sign in to comment.