mirror of
https://github.com/ryanvolz/radioconda.git
synced 2024-12-22 02:31:03 -05:00
Test some more build action tweaks.
This commit is contained in:
parent
a454787f72
commit
484977687e
40
.github/workflows/build_radioconda.yml
vendored
40
.github/workflows/build_radioconda.yml
vendored
@ -48,8 +48,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
environment-file: buildenv.yaml
|
environment-file: buildenv.yaml
|
||||||
|
|
||||||
- name: Build installer (bash)
|
- name: Build installer
|
||||||
# if: runner.os != 'Windows'
|
|
||||||
shell: bash -l {0}
|
shell: bash -l {0}
|
||||||
env:
|
env:
|
||||||
PLATFORM: ${{ matrix.PLATFORM }}
|
PLATFORM: ${{ matrix.PLATFORM }}
|
||||||
@ -60,16 +59,6 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
python build_installer.py -v
|
python build_installer.py -v
|
||||||
|
|
||||||
# - name: Build installer (cmd.exe)
|
|
||||||
# if: runner.os == 'Windows'
|
|
||||||
# shell: powershell
|
|
||||||
# env:
|
|
||||||
# PLATFORM: ${{ matrix.PLATFORM }}
|
|
||||||
# run: |
|
|
||||||
# $Env:Path = "$Env:CONDA_PREFIX\NSIS;$Env:Path"
|
|
||||||
# echo $Env:Path
|
|
||||||
# python build_installer.py -v
|
|
||||||
|
|
||||||
- name: Build metapackage
|
- name: Build metapackage
|
||||||
shell: bash -l {0}
|
shell: bash -l {0}
|
||||||
env:
|
env:
|
||||||
@ -77,7 +66,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python build_metapackage.py installer_specs/$DISTNAME-$PLATFORM.txt
|
python build_metapackage.py installer_specs/$DISTNAME-$PLATFORM.txt
|
||||||
|
|
||||||
- name: Copy spec and list built installers and packages
|
- name: Copy lock file and list built installers and packages
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
PLATFORM: ${{ matrix.PLATFORM }}
|
PLATFORM: ${{ matrix.PLATFORM }}
|
||||||
@ -107,9 +96,24 @@ jobs:
|
|||||||
TARGET_VOLUME: CurrentUserHomeDirectory
|
TARGET_VOLUME: CurrentUserHomeDirectory
|
||||||
INSTALL_PATH: ${{ github.workspace }}/../../../${{ env.DISTNAME }}
|
INSTALL_PATH: ${{ github.workspace }}/../../../${{ env.DISTNAME }}
|
||||||
run: |
|
run: |
|
||||||
installer -showChoiceChangesXML -pkg dist/$DISTNAME-*-$OS_NAME-$ARCH.pkg > pkg-choices.xml
|
cat >pkg-choices.xml <<EOF
|
||||||
cat pkg-choices.xml
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
installer -verbose -dumplog -pkg dist/$DISTNAME-*-$OS_NAME-$ARCH.pkg -target $TARGET_VOLUME
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>attributeSetting</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>choiceAttribute</key>
|
||||||
|
<string>selected</string>
|
||||||
|
<key>choiceIdentifier</key>
|
||||||
|
<string>io.continuum.pkg.pathupdate</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
</plist>
|
||||||
|
EOF
|
||||||
|
installer -showChoicesAfterApplyingChangesXML pkg-choices.xml -pkg dist/$DISTNAME-*-$OS_NAME-$ARCH.pkg -target $TARGET_VOLUME
|
||||||
|
installer -verbose -dumplog -applyChoiceChangesXML pkg-choices.xml -pkg dist/$DISTNAME-*-$OS_NAME-$ARCH.pkg -target $TARGET_VOLUME
|
||||||
eval "$($INSTALL_PATH/bin/conda shell.bash hook)"
|
eval "$($INSTALL_PATH/bin/conda shell.bash hook)"
|
||||||
conda info
|
conda info
|
||||||
conda list
|
conda list
|
||||||
@ -166,5 +170,5 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
|
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
micromamba --info
|
micromamba --help
|
||||||
anaconda upload -l $METAPACKAGE_LABEL dist/conda-bld/**/*
|
anaconda upload -l $METAPACKAGE_LABEL --skip-existing dist/conda-bld/**/*
|
||||||
|
Loading…
Reference in New Issue
Block a user