-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pac-interpreter: Initial implementation #1
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
fb60011
Initial implementation
jbaldassari f08f9d5
Test pushing new snapshot to sonatype
jbaldassari 2feb59b
Remove hard-coded suppression of GraalVM warnings in favor of documen…
jbaldassari 6f07557
Fix branch publishing
jbaldassari 915852a
Add more FindProxyResult helper methods and test coverage
jbaldassari 6de38eb
Add helper methods and test coverage to FindProxyDirective
jbaldassari e2b5b57
Add more explanation to JavaDoc for FindProxyDirective#proxyAddress
jbaldassari 2df1f3e
Split FindDirective#proxyAddress into resolvedProxyAddress() and unre…
jbaldassari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# | ||
# https://help.github.com/articles/dealing-with-line-endings/ | ||
# | ||
# Linux start script should use lf | ||
/gradlew text eol=lf | ||
|
||
# These are Windows script files and should use crlf | ||
*.bat text eol=crlf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Build and publish artifacts | ||
on: | ||
push: | ||
branches: | ||
# Run on all branches (but not tags); branch builds publish snapshots | ||
- '*' | ||
jobs: | ||
build-and-publish: | ||
runs-on: ubuntu-22.04 # LTS EoL Apr 2025 | ||
|
||
env: | ||
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SONATYPE_PGP_KEY }} | ||
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SONATYPE_PGP_PASSWORD }} | ||
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_PUBLISH_USERNAME }} | ||
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PUBLISH_PASSWORD }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
java-version: '8.x' | ||
java-package: jdk | ||
architecture: x64 | ||
distribution: temurin | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: ~/.gradle | ||
key: ${{ runner.OS }}-gradle-${{ hashFiles('**/build.gradle') }} | ||
restore-keys: | | ||
${{ runner.OS }}-gradle- | ||
${{ runner.OS }} | ||
|
||
- name: Install Dependencies | ||
run: | | ||
./gradlew dependencies | ||
|
||
- name: Show Versions | ||
run: | | ||
echo "java: $(java -version)" | ||
|
||
- name: Extract branch name | ||
shell: bash | ||
run: echo "BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV | ||
|
||
- name: Build and test | ||
run: ./gradlew test --console plain | ||
|
||
- name: Publish artifacts | ||
run: ./gradlew publish -x test -Pbranch="$BRANCH" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we want a step to publish the test results as an artifact?