Skip to content

Commit 4acebba

Browse files
authored
Resolve Github Actions issues (#7)
* disable release documentation * wpiformat&spotless
1 parent a09ce92 commit 4acebba

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

.github/workflows/documentation.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -65,22 +65,22 @@ jobs:
6565
name: built-docs
6666
path: docs/build/docs
6767

68-
release:
69-
needs: [build-client, run_docs]
68+
# release:
69+
# needs: [build-client, run_docs]
7070

71-
runs-on: ubuntu-22.04
72-
steps:
71+
# runs-on: ubuntu-22.04
72+
# steps:
7373

74-
# Download literally every single artifact.
75-
- uses: actions/download-artifact@v4
74+
# # Download literally every single artifact.
75+
# - uses: actions/download-artifact@v4
7676

77-
- run: find .
78-
- name: copy file via ssh password
79-
uses: appleboy/[email protected]
80-
with:
81-
host: ${{ secrets.WEBMASTER_SSH_HOST }}
82-
username: ${{ secrets.WEBMASTER_SSH_USERNAME }}
83-
password: ${{ secrets.WEBMASTER_SSH_KEY }}
84-
port: ${{ secrets.WEBMASTER_SSH_PORT }}
85-
source: "*"
86-
target: /var/www/html/photonvision-docs/
77+
# - run: find .
78+
# - name: copy file via ssh password
79+
# uses: appleboy/[email protected]
80+
# with:
81+
# host: ${{ secrets.WEBMASTER_SSH_HOST }}
82+
# username: ${{ secrets.WEBMASTER_SSH_USERNAME }}
83+
# password: ${{ secrets.WEBMASTER_SSH_KEY }}
84+
# port: ${{ secrets.WEBMASTER_SSH_PORT }}
85+
# source: "*"
86+
# target: /var/www/html/photonvision-docs/

photon-core/src/main/java/org/photonvision/vision/processes/PipelineManager.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ private CVPipelineSettings createSettingsForType(PipelineType type, String nickn
346346
}
347347
}
348348
}
349-
349+
350350
/**
351351
* Recreate the current user pipeline with the current pipeline index. Useful to force a
352352
* recreation after changing pipeline type
@@ -374,7 +374,7 @@ private void recreateUserPipeline() {
374374
currentUserPipeline =
375375
new AprilTagPipeline((AprilTagPipelineSettings) desiredPipelineSettings);
376376
break;
377-
377+
378378
case RKNN:
379379
logger.debug("Creating RKNN Pipeline");
380380
currentUserPipeline = new RKNNPipeline((RKNNPipelineSettings) desiredPipelineSettings);

photon-lib/src/main/native/include/photon/simulation/SimCameraProperties.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ class SimCameraProperties {
9696
units::radian_t{std::numbers::pi / 2.0}})
9797
.Radians()}},
9898
frc::Translation3d{
99-
1_m,
100-
frc::Rotation3d{0_rad,
101-
(GetPixelPitch(0) + frc::Rotation2d{units::radian_t{
102-
std::numbers::pi / 2.0}})
103-
.Radians(),
104-
0_rad}},
99+
1_m, frc::Rotation3d{0_rad,
100+
(GetPixelPitch(0) +
101+
frc::Rotation2d{
102+
units::radian_t{std::numbers::pi / 2.0}})
103+
.Radians(),
104+
0_rad}},
105105
frc::Translation3d{
106106
1_m, frc::Rotation3d{0_rad,
107107
(GetPixelPitch(height) +

0 commit comments

Comments
 (0)