Skip to content

prepare next dev cycle for v1.1.0 #322

prepare next dev cycle for v1.1.0

prepare next dev cycle for v1.1.0 #322

Workflow file for this run

name: "Installation"
on:
push:
branches:
- main
jobs:
install:
name: "Install latest"
runs-on: ubuntu-latest
steps:
- name: Import gpg key(s) defined in vars.PUBLIC_GPG_KEYS_WE_TRUST and secrets.PUBLIC_GPG_KEYS_WE_TRUST
run: |
gpg --import - <<< "${{ vars.PUBLIC_GPG_KEYS_WE_TRUST }}" && success=true \
|| (echo "could not import GPG keys via vars.PUBLIC_GPG_KEYS_WE_TRUST -- maybe it's not defined"; exit 1) && \
false || gpg --import - <<< "${{ secrets.PUBLIC_GPG_KEYS_WE_TRUST }}" && success=true \
|| (echo "could not import GPG keys via secrets.PUBLIC_GPG_KEYS_WE_TRUST -- maybe it's not defined"; exit 1) && \
false || "${success:-false}" && echo "was able to import GPGs either via vars or secrets (or via both -- see above)"
- uses: actions/checkout@v4
- name: Check it works
run: |
tmpDir=$(mktemp -d -t gt-download-install-XXXXXXXXXX)
mkdir -p "$tmpDir"
currentDir=$(pwd)
cd "$tmpDir"
"$currentDir/install.sh"
- name: run self-update
run: gt self-update --force true
installDoc:
name: "Install.doc.sh latest"
runs-on: ubuntu-latest
steps:
- name: Import gpg key(s) defined in vars.PUBLIC_GPG_KEYS_WE_TRUST and secrets.PUBLIC_GPG_KEYS_WE_TRUST
run: |
gpg --import - <<< "${{ vars.PUBLIC_GPG_KEYS_WE_TRUST }}" && success=true \
|| (echo "could not import GPG keys via vars.PUBLIC_GPG_KEYS_WE_TRUST -- maybe it's not defined"; exit 1) && \
false || gpg --import - <<< "${{ secrets.PUBLIC_GPG_KEYS_WE_TRUST }}" && success=true \
|| (echo "could not import GPG keys via secrets.PUBLIC_GPG_KEYS_WE_TRUST -- maybe it's not defined"; exit 1) && \
false || "${success:-false}" && echo "was able to import GPGs either via vars or secrets (or via both -- see above)"
- uses: actions/checkout@v4
- name: Check it works
run: ./install.doc.sh
- name: run self-update
run: gt self-update --force true
installOld:
strategy:
matrix:
tag: [v0.10.2, v0.11.0, v0.12.0, v0.13.3, v0.14.0, v0.15.0, v0.16.0, v0.17.0, v0.17.1, v0.17.3, v0.17.4, v0.18.0, v0.19.0, v1.0.0]
runs-on: ubuntu-latest
name: 'self-update from ${{matrix.tag}}'
steps:
- name: Import gpg key(s) defined in vars.PUBLIC_GPG_KEYS_WE_TRUST and secrets.PUBLIC_GPG_KEYS_WE_TRUST
run: |
gpg --import - <<< "${{ vars.PUBLIC_GPG_KEYS_WE_TRUST }}" && success=true \
|| (echo "could not import GPG keys via vars.PUBLIC_GPG_KEYS_WE_TRUST -- maybe it's not defined"; exit 1) && \
false || gpg --import - <<< "${{ secrets.PUBLIC_GPG_KEYS_WE_TRUST }}" && success=true \
|| (echo "could not import GPG keys via secrets.PUBLIC_GPG_KEYS_WE_TRUST -- maybe it's not defined"; exit 1) && \
false || "${success:-false}" && echo "was able to import GPGs either via vars or secrets (or via both -- see above)"
- uses: actions/checkout@v4
- name: install ${{ matrix.tag }}
run: |
tmpDir=$(mktemp -d -t gt-download-install-XXXXXXXXXX)
mkdir -p "$tmpDir"
currentDir=$(pwd)
cd "$tmpDir"
"$currentDir/install.sh" -t ${{ matrix.tag }}
- name: run self-update
run: gt self-update --force true