Setting actions version to latest (#14361)
* Setting actions version to latest * Fix decode-base64-into-file-action version Cannot use normal versioning as https://github.com/kitek/decode-base64-into-file-action does not use semver and GHA cannot interpret the version without the exact version specified. * Satisfying new version shellcheck linting test Co-authored-by: Zachary Brown <z.brown@chia.net>
This commit is contained in:
parent
cdacd43038
commit
e3ec9484b0
|
@ -185,7 +185,7 @@ jobs:
|
|||
|
||||
- name: Configure AWS Credentials
|
||||
if: steps.check_secrets.outputs.HAS_AWS_SECRET
|
||||
uses: aws-actions/configure-aws-credentials@v1-node16
|
||||
uses: aws-actions/configure-aws-credentials@v1
|
||||
with:
|
||||
aws-access-key-id: ${{ secrets.INSTALLER_UPLOAD_KEY }}
|
||||
aws-secret-access-key: ${{ secrets.INSTALLER_UPLOAD_SECRET }}
|
||||
|
|
|
@ -185,7 +185,7 @@ jobs:
|
|||
|
||||
- name: Configure AWS Credentials
|
||||
if: steps.check_secrets.outputs.HAS_AWS_SECRET
|
||||
uses: aws-actions/configure-aws-credentials@v1-node16
|
||||
uses: aws-actions/configure-aws-credentials@v1
|
||||
with:
|
||||
aws-access-key-id: ${{ secrets.INSTALLER_UPLOAD_KEY }}
|
||||
aws-secret-access-key: ${{ secrets.INSTALLER_UPLOAD_SECRET }}
|
||||
|
|
|
@ -184,7 +184,7 @@ jobs:
|
|||
|
||||
- name: Configure AWS Credentials
|
||||
if: steps.check_secrets.outputs.HAS_AWS_SECRET
|
||||
uses: aws-actions/configure-aws-credentials@v1-node16
|
||||
uses: aws-actions/configure-aws-credentials@v1
|
||||
with:
|
||||
aws-access-key-id: ${{ secrets.INSTALLER_UPLOAD_KEY }}
|
||||
aws-secret-access-key: ${{ secrets.INSTALLER_UPLOAD_SECRET }}
|
||||
|
|
|
@ -242,7 +242,7 @@ jobs:
|
|||
|
||||
- name: Configure AWS Credentials
|
||||
if: steps.check_secrets.outputs.HAS_AWS_SECRET
|
||||
uses: aws-actions/configure-aws-credentials@v1-node16
|
||||
uses: aws-actions/configure-aws-credentials@v1
|
||||
with:
|
||||
aws-access-key-id: ${{ secrets.INSTALLER_UPLOAD_KEY }}
|
||||
aws-secret-access-key: ${{ secrets.INSTALLER_UPLOAD_SECRET }}
|
||||
|
|
|
@ -17,4 +17,4 @@ jobs:
|
|||
- name: 'Checkout Repository'
|
||||
uses: actions/checkout@v3
|
||||
- name: 'Dependency Review'
|
||||
uses: actions/dependency-review-action@v2
|
||||
uses: actions/dependency-review-action@v3
|
||||
|
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
status: ${{ steps.check-labels.outputs.status }}
|
||||
steps:
|
||||
- id: check-labels
|
||||
uses: mheap/github-action-required-labels@v2
|
||||
uses: mheap/github-action-required-labels@v3
|
||||
with:
|
||||
mode: exactly
|
||||
count: 1
|
||||
|
|
|
@ -46,7 +46,7 @@ jobs:
|
|||
|
||||
- name: Setup Python environment
|
||||
if: steps.check_secrets.outputs.HAS_SNYK_SECRET
|
||||
uses: actions/setup-python@v3
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ jobs:
|
|||
# Run Linter against code base #
|
||||
################################
|
||||
- name: Lint Code Base
|
||||
uses: github/super-linter@v4.9.3
|
||||
uses: github/super-linter@v4
|
||||
# uses: docker://github/super-linter:v3.10.2
|
||||
env:
|
||||
VALIDATE_ALL_CODEBASE: true
|
||||
|
|
|
@ -75,10 +75,10 @@ cd ../../../build_scripts || exit 1
|
|||
mkdir final_installer
|
||||
DMG_NAME="chia-${CHIA_INSTALLER_VERSION}.dmg"
|
||||
if [ "$(arch)" = "arm64" ]; then
|
||||
mv dist/${DMG_NAME} dist/chia-${CHIA_INSTALLER_VERSION}-arm64.dmg
|
||||
mv dist/"${DMG_NAME}" dist/chia-"${CHIA_INSTALLER_VERSION}"-arm64.dmg
|
||||
DMG_NAME=chia-${CHIA_INSTALLER_VERSION}-arm64.dmg
|
||||
fi
|
||||
mv dist/$DMG_NAME final_installer/
|
||||
mv dist/"$DMG_NAME" final_installer/
|
||||
|
||||
ls -lh final_installer
|
||||
|
||||
|
|
|
@ -54,6 +54,7 @@ ubuntu_cmake_install() {
|
|||
sudo apt-get remove --purge cmake -y
|
||||
hash -r
|
||||
sudo snap install cmake --classic
|
||||
# shellcheck disable=SC1091
|
||||
. /etc/profile
|
||||
else
|
||||
echo "Ubuntu 20.04LTS and newer support CMake 3.16+"
|
||||
|
@ -87,7 +88,7 @@ if [ -e "$THE_PATH" ]; then
|
|||
echo "$THE_PATH"
|
||||
echo "vdf_client already exists, no action taken"
|
||||
else
|
||||
if [ -e venv/bin/python ] && test $UBUNTU_DEBIAN; then
|
||||
if [ -e venv/bin/python ] && test "$UBUNTU_DEBIAN"; then
|
||||
echo "Installing chiavdf dependencies on Ubuntu/Debian"
|
||||
# If Ubuntu version is older than 20.04LTS then upgrade CMake
|
||||
ubuntu_cmake_install
|
||||
|
@ -98,7 +99,7 @@ else
|
|||
echo venv/bin/python -m pip install --force --no-binary chiavdf "$CHIAVDF_VERSION"
|
||||
venv/bin/python -m pip install --force --no-binary chiavdf "$CHIAVDF_VERSION"
|
||||
symlink_vdf_bench "$PYTHON_VERSION"
|
||||
elif [ -e venv/bin/python ] && test $RHEL_BASED; then
|
||||
elif [ -e venv/bin/python ] && test "$RHEL_BASED"; then
|
||||
echo "Installing chiavdf dependencies on RedHat/CentOS/Fedora"
|
||||
# Install remaining needed development tools - assumes venv and prior run of install.sh
|
||||
echo "yum install gcc gcc-c++ gmp-devel $PYTHON_DEV_DEPENDENCY libtool make autoconf automake openssl-devel libevent-devel boost-devel python3 cmake -y"
|
||||
|
@ -107,7 +108,7 @@ else
|
|||
echo venv/bin/python -m pip install --force --no-binary chiavdf "$CHIAVDF_VERSION"
|
||||
venv/bin/python -m pip install --force --no-binary chiavdf "$CHIAVDF_VERSION"
|
||||
symlink_vdf_bench "$PYTHON_VERSION"
|
||||
elif [ -e venv/bin/python ] && test $MACOS; then
|
||||
elif [ -e venv/bin/python ] && test "$MACOS"; then
|
||||
echo "Installing chiavdf dependencies for MacOS."
|
||||
brew install boost cmake gmp
|
||||
echo "Installing chiavdf from source."
|
||||
|
|
Loading…
Reference in New Issue