Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/netlicensing-client-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
release:
name: Release ${{ github.event.inputs.release-version }} / Java ${{ matrix.java-version }}
runs-on: self-hosted
permissions:
contents: write
env:
RELEASE_WORK_DIR: checkout-for-release
container: maven:3-eclipse-temurin-17
Expand All @@ -31,15 +33,14 @@ jobs:
# Specific to maven:3-eclipse-temurin-17 image
run: |
apt-get update
apt-get install -y ssh gnupg2
apt-get install -y gnupg2

- name: Checkout the sources
uses: actions/checkout@v7
with:
path: ${{ env.RELEASE_WORK_DIR }}
ssh-key: '${{ secrets.REPO_SSH_KEY }}'

# Relies on actions/checkout with 'ssh-key' parameter.
# Relies on the GITHUB_TOKEN credentials persisted by actions/checkout.
- name: Prepare git config
run: |
cd $RELEASE_WORK_DIR
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@

<scm>
<url>https://github.com/Labs64/NetLicensingClient-java</url>
<connection>scm:git:git@github.com:Labs64/NetLicensingClient-java.git</connection>
<developerConnection>scm:git:git@github.com:Labs64/NetLicensingClient-java.git</developerConnection>
<connection>scm:git:https://github.com/Labs64/NetLicensingClient-java.git</connection>
<developerConnection>scm:git:https://github.com/Labs64/NetLicensingClient-java.git</developerConnection>
<tag>HEAD</tag>
</scm>

Expand Down
Loading