From 8546568b4c108c73ba733fa0c8a71bd0518babe4 Mon Sep 17 00:00:00 2001 From: "mateusz.milian" Date: Sun, 17 Nov 2024 22:21:04 +0100 Subject: [PATCH] fix: Test wf --- .github/workflows/notify.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/notify.yml diff --git a/.github/workflows/notify.yml b/.github/workflows/notify.yml new file mode 100644 index 0000000..1422154 --- /dev/null +++ b/.github/workflows/notify.yml @@ -0,0 +1,25 @@ +name: Print Release Tag on PreRelease + +on: + release: + types: [prereleased] + +jobs: + print_release_tag_job: + runs-on: ubuntu-latest + steps: + - name: Install deployment-time prerequisites + run: | + echo "Installing cx from Creoox/cx using token ${{ secrets.GH_TOKEN }} + curl -X GET -H "Authorization: token ${GH_TOKEN}" https://raw.githubusercontent.com/Creoox/cx/main/src/cx.clj > /usr/local/bin/cx + chmod +x /usr/local/bin/cx + - name: Notify about a new release + run: | + cx teams notify \ + -w ${{ secrets.TEAMS_WEBHOOK }}" \ + -v v${{ github.event.release.tag_name }}" \ + -s "New pre-release version of ifc2glbconverter " \ + -m "available to test" \ + -p "ifc2glbconverter" \ + -r "https://github.com/Creoox/creoox-ifc2gltfcxconverter" \ + -t "https://github.com/Creoox/creoox-ifc2gltfcxconverter" \ No newline at end of file