From d9db4b8d546aeb49770d1238dd9dca98aa8b70dd Mon Sep 17 00:00:00 2001 From: Matt Witherspoon <32485495+spoonincode@users.noreply.github.com> Date: Fri, 14 Jun 2024 15:42:50 -0400 Subject: [PATCH] use antelope-spring-dev.deb --- .cicd/defaults.json | 2 +- .github/workflows/build.yaml | 34 +++++++++++++++++----------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.cicd/defaults.json b/.cicd/defaults.json index 48fecb1..d14aed9 100644 --- a/.cicd/defaults.json +++ b/.cicd/defaults.json @@ -1,5 +1,5 @@ { - "spring-dev":{ + "antelope-spring-dev":{ "target":"main", "prerelease":false }, diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 338a200..765f5ce 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -8,12 +8,12 @@ on: pull_request: workflow_dispatch: inputs: - override-spring-dev: - description: Override spring-dev target + override-antelope-spring-dev: + description: Override antelope-spring-dev target type: string - override-spring-dev-prerelease: + override-antelope-spring-dev-prerelease: type: choice - description: Override spring-dev prelease + description: Override antelope-spring-dev prelease options: - default - true @@ -38,22 +38,22 @@ jobs: name: Build & Test runs-on: ubuntu-22.04 steps: - - name: Setup spring-dev & cdt versions + - name: Setup antelope-spring-dev & cdt versions id: versions env: GH_TOKEN: ${{secrets.GITHUB_TOKEN}} run: | DEFAULTS_JSON=$(curl -sSfL $(gh api https://api.github.com/repos/${{github.repository}}/contents/.cicd/defaults.json?ref=${{github.sha}} --jq .download_url)) - echo spring-dev-target=$(echo "$DEFAULTS_JSON" | jq -r '."spring-dev".target') >> $GITHUB_OUTPUT - echo spring-dev-prerelease=$(echo "$DEFAULTS_JSON" | jq -r '."spring-dev".prerelease') >> $GITHUB_OUTPUT + echo antelope-spring-dev-target=$(echo "$DEFAULTS_JSON" | jq -r '."antelope-spring-dev".target') >> $GITHUB_OUTPUT + echo antelope-spring-dev-prerelease=$(echo "$DEFAULTS_JSON" | jq -r '."antelope-spring-dev".prerelease') >> $GITHUB_OUTPUT echo cdt-target=$(echo "$DEFAULTS_JSON" | jq -r '.cdt.target') >> $GITHUB_OUTPUT echo cdt-prerelease=$(echo "$DEFAULTS_JSON" | jq -r '.cdt.prerelease') >> $GITHUB_OUTPUT - if [[ "${{inputs.override-spring-dev}}" != "" ]]; then - echo spring-dev-target=${{inputs.override-spring-dev}} >> $GITHUB_OUTPUT + if [[ "${{inputs.override-antelope-spring-dev}}" != "" ]]; then + echo antelope-spring-dev-target=${{inputs.override-antelope-spring-dev}} >> $GITHUB_OUTPUT fi - if [[ "${{inputs.override-spring-dev-prerelease}}" == +(true|false) ]]; then - echo spring-dev-prerelease=${{inputs.override-spring-dev-prerelease}} >> $GITHUB_OUTPUT + if [[ "${{inputs.override-antelope-spring-dev-prerelease}}" == +(true|false) ]]; then + echo antelope-spring-dev-prerelease=${{inputs.override-antelope-spring-dev-prerelease}} >> $GITHUB_OUTPUT fi if [[ "${{inputs.override-cdt}}" != "" ]]; then echo cdt-target=${{inputs.override-cdt}} >> $GITHUB_OUTPUT @@ -70,16 +70,16 @@ jobs: target: '${{steps.versions.outputs.cdt-target}}' prereleases: ${{fromJSON(steps.versions.outputs.cdt-prerelease)}} artifact-name: cdt_ubuntu_package_amd64 - - name: Download spring-dev + - name: Download antelope-spring-dev uses: AntelopeIO/asset-artifact-download-action@v3 with: owner: AntelopeIO repo: spring - file: 'spring-dev.*ubuntu22\.04_amd64.deb' - target: '${{steps.versions.outputs.spring-dev-target}}' - prereleases: ${{fromJSON(steps.versions.outputs.spring-dev-prerelease)}} - artifact-name: spring-dev-ubuntu22-amd64 - container-package: experimental-binaries + file: 'antelope-spring-dev.*ubuntu22\.04_amd64.deb' + target: '${{steps.versions.outputs.antelope-spring-dev-target}}' + prereleases: ${{fromJSON(steps.versions.outputs.antelope-spring-dev-prerelease)}} + artifact-name: antelope-spring-dev-ubuntu22-amd64 + container-package: antelope-spring-experimental-binaries - name: Install packages run: | sudo apt-get update && sudo apt-get upgrade -y