fricken gitea
Some checks failed
Check Latest Release / check-latest (push) Successful in 4s
Check Latest Release / main_workflow (push) Failing after 54s

This commit is contained in:
zramsay 2025-02-05 15:12:10 -05:00
parent bec851d3ad
commit df8d6f19e2

View File

@ -22,6 +22,9 @@ env:
jobs:
check-latest:
runs-on: ubuntu-latest
outputs:
latest_tag: ${{ steps.check-latest.outputs.latest_tag }}
run_workflow: ${{ steps.check-latest.outputs.run_workflow }}
steps:
- name: Get latest release
id: check-latest
@ -42,7 +45,6 @@ jobs:
echo "::set-output name=run_workflow::false"
fi
# Debug output
echo "Latest tag: $latest_tag"
echo "Published at: $published_at"
echo "Time diff: $time_diff"
@ -51,10 +53,12 @@ jobs:
needs: check-latest
# if: needs.check-latest.outputs.run_workflow == 'true'
runs-on: ubuntu-latest
env:
RELEASE_TAG: ${{ jobs.check-latest.outputs.latest_tag }}
steps:
- name: echo TAG
run: |
echo "New release detected: ${{ needs.check-latest.outputs.latest_tag }}"
echo "New release detected: $RELEASE_TAG"
- name: "Clone project repository"
uses: actions/checkout@v3
- name: Use Node.js
@ -67,7 +71,7 @@ jobs:
run: |
npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/
npm install -g @cerc-io/laconic-registry-cli
#- name: "Install jq"
# run: sudo apt -y update && sudo apt -y install jq
- name: "Install jq"
run: sudo apt -y update && sudo apt -y install jq
- name: "Deploy Namada"
run: ./deploy.sh ${{ env.TARGET_REPO }} ${{ needs.check-latest.outputs.latest_tag }}
run: ./deploy.sh ${{ env.TARGET_REPO }} $RELEASE_TAG