diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 892d531f..0f3cfabd 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,7 +11,7 @@ updates: directory: "/" target-branch: "development" schedule: - interval: "daily" + interval: "weekly" - package-ecosystem: "docker" directory: "/" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0cf28d16..23e3f8be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ on: push: pull_request: branches: [main, development] - merge_group: + merge_group: jobs: build-linux: @@ -163,4 +163,30 @@ jobs: docker compose up -d ./waitForContainer.sh python -m unittest discover test_mqtt_sampleserver - \ No newline at end of file + + release: + runs-on: ubuntu-22.04 + needs: [ build-linux , build-windows ] + steps: + - name: Download artifact + uses: dawidd6/action-download-artifact@v2.27.0 + with: + github_token: ${{secrets.GITHUB_TOKEN}} + workflow: build.yml + workflow_conclusion: success + repo: ${{ github.repository }} + if_no_artifact_found: fail + skip_unpack: true + - name: Checksum + run: | + #! /bin/bash + sha256sum *.zip > SHA256 + - name: Display structure of downloaded files + run: ls -R + - name: Release + uses: softprops/action-gh-release@v0.1.15 + if: startsWith(github.ref, 'refs/tags/') + with: + files: | + *.zip + sha256