diff --git a/.gitea/workflows/deploy-namada.yml b/.gitea/workflows/deploy-namada.yml index 386aacb..5cd4fd8 100644 --- a/.gitea/workflows/deploy-namada.yml +++ b/.gitea/workflows/deploy-namada.yml @@ -23,6 +23,8 @@ jobs: latest_tag=$(echo $latest | jq -r .tag_name) published_at=$(echo $latest | jq -r .published_at) + echo "latest_tag=$latest_tag" >> $GITHUB_OUTPUT + current_time=$(date -u +%s) release_time=$(date -u -d "$published_at" +%s) time_diff=$((current_time - release_time)) @@ -41,4 +43,4 @@ jobs: - uses: actions/checkout@v4 - name: Example step - run: echo "Running workflow for new release" + run: echo "New release detected: ${{ needs.check-latest.outputs.latest_tag }}" \ No newline at end of file