Skip to content

Commit

Permalink
update test badge
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBoehm committed Jan 16, 2025
1 parent c9e9683 commit 5fc28cb
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Get tags
run: git fetch --force --tags origin
- name: Get openDTU core tags
run: git fetch --force --tags https://github.com/tbnobody/OpenDTU.git

- name: Get openDTU core release
run: |
Expand Down Expand Up @@ -187,27 +187,3 @@ jobs:
artifacts/*.zip, artifacts/*.bin
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}

badges-test:
name: Create bagdge test
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Get tags
run: git fetch --force --tags origin

- name: Get openDTU core release
run: |
echo "OPEN_DTU_CORE_RELEASE=$(git for-each-ref --sort=creatordate --format '%(refname) %(creatordate)' refs/tags | grep 'refs/tags/v' | tail -1 | sed 's#.*/##' | sed 's/ .*//')" >> $GITHUB_ENV
- name: Create openDTU-core-release-Badge
uses: schneegans/[email protected]
with:
auth: ${{ secrets.GIST_SECRET }}
gistID: 856dda48c1cadac6ea495213340c612b
filename: openDTUcoreRelease.json
label: based on original OpenDTU
message: ${{ env.OPEN_DTU_CORE_RELEASE }}
color: lightblue

0 comments on commit 5fc28cb

Please sign in to comment.