Skip to content

Commit f5fa73e

Browse files
committed
CI: update to current best practices
1 parent b15c606 commit f5fa73e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
2-
curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/ci-build.sh
2+
curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/main/ci-build.sh
33
sh ci-build.sh

.github/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/ci-setup-github-actions.sh
2+
curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/main/ci-setup-github-actions.sh
33
sh ci-setup-github-actions.sh
44

55
# Let the Linux build handle artifact deployment.

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
os: [ubuntu-latest, windows-latest, macos-latest]
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323
- name: Set up Java
24-
uses: actions/setup-java@v3
24+
uses: actions/setup-java@v4
2525
with:
2626
java-version: '8'
2727
distribution: 'zulu'
@@ -37,6 +37,6 @@ jobs:
3737
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
3838
MAVEN_USER: ${{ secrets.MAVEN_USER }}
3939
MAVEN_PASS: ${{ secrets.MAVEN_PASS }}
40-
OSSRH_USER: ${{ secrets.OSSRH_USER }}
41-
OSSRH_PASS: ${{ secrets.OSSRH_PASS }}
40+
CENTRAL_USER: ${{ secrets.CENTRAL_USER }}
41+
CENTRAL_PASS: ${{ secrets.CENTRAL_PASS }}
4242
SIGNING_ASC: ${{ secrets.SIGNING_ASC }}

0 commit comments

Comments
 (0)