Skip to content

Commit f987792

Browse files
committed
Add redeploy job to GitHub Actions workflow to deploy platform artifact
1 parent 6638905 commit f987792

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/javacv.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,8 @@ jobs:
3434
- uses: bytedeco/javacpp-presets/.github/actions/deploy-windows@actions
3535
- uses: mxschmitt/action-tmate@v3.5
3636
if: ${{ github.event_name == 'workflow_dispatch' }}
37+
redeploy:
38+
needs: [linux-x86_64, macosx-arm64, macosx-x86_64, windows-x86_64]
39+
runs-on: ubuntu-22.04
40+
steps:
41+
- uses: bytedeco/javacpp-presets/.github/actions/redeploy@actions

platform/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,20 @@
122122

123123
</dependencies>
124124

125+
<repositories>
126+
<repository>
127+
<id>central-portal-snapshots</id>
128+
<name>Central Portal Snapshots</name>
129+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
130+
<releases>
131+
<enabled>false</enabled>
132+
</releases>
133+
<snapshots>
134+
<enabled>true</enabled>
135+
</snapshots>
136+
</repository>
137+
</repositories>
138+
125139
<build>
126140
<plugins>
127141
<plugin>

0 commit comments

Comments
 (0)