Skip to content

Commit

Permalink
feat(CI): Create automatic releases
Browse files Browse the repository at this point in the history
fix(deps): Adjust dependabot updates
  • Loading branch information
GoetzGoerisch committed Jul 20, 2023
1 parent c888ec4 commit e4d6e2d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ updates:
directory: "/"
target-branch: "development"
schedule:
interval: "daily"
interval: "weekly"

- package-ecosystem: "docker"
directory: "/"
Expand Down
30 changes: 28 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
pull_request:
branches: [main, development]
merge_group:
merge_group:

jobs:
build-linux:
Expand Down Expand Up @@ -163,4 +163,30 @@ jobs:
docker compose up -d
./waitForContainer.sh
python -m unittest discover test_mqtt_sampleserver
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

0 comments on commit e4d6e2d

Please sign in to comment.