-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #212 from KhiopsML/dev-v10
Release 10.2.1
- Loading branch information
Showing
4 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,6 @@ jobs: | |
test: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
defaults: | ||
run: | ||
shell: bash | ||
|
@@ -94,6 +93,7 @@ jobs: | |
dpkg -i ./artifacts/khiops-core* || true | ||
apt-get -f install -y | ||
- name: Check Khiops core installation | ||
continue-on-error: ${{ matrix.os == 'debian:11' }} | ||
run: | | ||
khiops-env --env | ||
khiops -v | ||
|
@@ -103,10 +103,12 @@ jobs: | |
dpkg -i ./khiops_* || true | ||
apt-get -f install -y | ||
- name: Check Khiops installation | ||
continue-on-error: ${{ matrix.os == 'debian:11' }} | ||
run: | | ||
khiops -v | ||
khiops_coclustering -v | ||
- name: Test Khiops installation | ||
continue-on-error: ${{ matrix.os == 'debian:11' || matrix.os == 'debian:12' }} | ||
uses: ./.github/actions/test-khiops-install | ||
test-kni: | ||
needs: build | ||
|
@@ -166,7 +168,10 @@ jobs: | |
for PKG_FILE in *.deb | ||
do | ||
NEW_PKG_FILE=$(echo $PKG_FILE | sed "s/_${SOURCE_VERSION}-/_${{ github.ref_name }}-/") | ||
mv $PKG_FILE $NEW_PKG_FILE | ||
if [[ "$PKG_FILE" != "$NEW_PKG_FILE" ]] | ||
then | ||
mv $PKG_FILE $NEW_PKG_FILE | ||
fi | ||
done | ||
- name: Upload packages to the release | ||
uses: ncipollo/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -158,10 +158,16 @@ jobs: | |
name: KNI | ||
- name: Rename packages with tag version | ||
run: | | ||
# Build the package file names | ||
SOURCE_VERSION="${{ needs.build.outputs.khiops-version }}" | ||
PKG_FILE=$(ls *-setup.exe) | ||
NEW_PKG_FILE=$(echo $PKG_FILE | sed "s/-${SOURCE_VERSION}-/-${{ github.ref_name }}-/") | ||
mv $PKG_FILE $NEW_PKG_FILE | ||
# Rename to the tag version only if it is not coherent with the source version | ||
if [[ "$PKG_FILE" != "$NEW_PKG_FILE" ]] | ||
then | ||
mv $PKG_FILE $NEW_PKG_FILE | ||
fi | ||
- name: Upload NSIS installer and KNI to the release | ||
uses: ncipollo/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -156,11 +156,15 @@ jobs: | |
merge-multiple: true | ||
- name: Rename packages with tag version | ||
run: | | ||
# Renames the packge only if the source version differs from the tag | ||
SOURCE_VERSION=$(./scripts/khiops-version) | ||
for PKG_FILE in *.rpm | ||
do | ||
NEW_PKG_FILE=$(echo $PKG_FILE | sed "s/-${SOURCE_VERSION}-/-${{ github.ref_name }}-/") | ||
mv $PKG_FILE $NEW_PKG_FILE | ||
if [[ "$PKG_FILE" != "$NEW_PKG_FILE" ]] | ||
then | ||
mv $PKG_FILE $NEW_PKG_FILE | ||
fi | ||
done | ||
- name: Upload packages to the release | ||
uses: ncipollo/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters