GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix CI by removing deploy job; add manual deploy workflow · codice/jcodec@f1aef4f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • ci.yml
    • release.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/ci.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+1-44Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ on:
99
branches:
1010
- master
1111
- '[0-9]+.[0-9]+.x'
12-
schedule:
13-
- cron: '0 18 * * *'
1412

1513
concurrency:
1614
group: ${{ github.workflow }}-${{ github.ref }}
@@ -59,45 +57,4 @@ jobs:
5957
- name: Build
6058
run: mvn clean install $MAVEN_CLI_OPTS -DskipTests
6159

62-
deploy:
63-
needs: full-build
64-
if: |
65-
github.event_name != 'pull_request' &&
66-
(github.ref == 'refs/heads/master' || contains(github.ref, '.x'))
67-
runs-on: ubuntu-latest
68-
environment: production
69-
permissions:
70-
packages: write
71-
steps:
72-
- name: Checkout
73-
uses: actions/checkout@v4
74-
75-
- name: Set up JDK 17
76-
uses: actions/setup-java@v4
77-
with:
78-
java-version: '17'
79-
distribution: 'temurin'
80-
cache: maven
81-
82-
- name: Configure Maven settings
83-
uses: s4u/[email protected]
84-
with:
85-
servers: |
86-
[{
87-
"id": "releases",
88-
"username": "${{ github.actor }}",
89-
"password": "${{ secrets.GITHUB_TOKEN }}"
90-
},
91-
{
92-
"id": "snapshots",
93-
"username": "${{ github.actor }}",
94-
"password": "${{ secrets.GITHUB_TOKEN }}"
95-
}]
96-
97-
- name: Deploy
98-
run: |
99-
mvn deploy $MAVEN_CLI_OPTS \
100-
-DskipTests=true \
101-
-DretryFailedDeploymentCount=10 \
102-
-DaltReleaseDeploymentRepository=releases::https://maven.pkg.github.com/codice/jcodec \
103-
-DaltSnapshotDeploymentRepository=snapshots::https://maven.pkg.github.com/codice/jcodec
60+
# Deploy is handled by .github/workflows/release.yml (workflow_dispatch)
Collapse file

‎.github/workflows/release.yml‎

Copy file name to clipboard
+50Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Deploy
2+
3+
on:
4+
workflow_dispatch:
5+
6+
env:
7+
MAVEN_OPTS: '-Xmx4G -Xms1G -Djava.security.egd=file:/dev/./urandom'
8+
MAVEN_CLI_OPTS: '-B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
9+
10+
permissions:
11+
contents: read
12+
packages: write
13+
14+
jobs:
15+
deploy:
16+
runs-on: ubuntu-latest
17+
environment: production
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Set up JDK 17
23+
uses: actions/setup-java@v4
24+
with:
25+
java-version: '17'
26+
distribution: 'temurin'
27+
cache: maven
28+
29+
- name: Configure Maven settings
30+
uses: s4u/[email protected]
31+
with:
32+
servers: |
33+
[{
34+
"id": "releases",
35+
"username": "${{ github.actor }}",
36+
"password": "${{ secrets.GITHUB_TOKEN }}"
37+
},
38+
{
39+
"id": "snapshots",
40+
"username": "${{ github.actor }}",
41+
"password": "${{ secrets.GITHUB_TOKEN }}"
42+
}]
43+
44+
- name: Deploy
45+
run: |
46+
mvn deploy $MAVEN_CLI_OPTS \
47+
-DskipTests=true \
48+
-DretryFailedDeploymentCount=10 \
49+
-Dreleases.repository.url=https://maven.pkg.github.com/codice/jcodec \
50+
-Dsnapshots.repository.url=https://maven.pkg.github.com/codice/jcodec

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.