From c4ce0418a875cce80686d6d1256ce905dc6413fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6tz=20G=C3=B6risch?= Date: Thu, 20 Jul 2023 07:13:20 +0000 Subject: [PATCH] feat(CI): Create automatic releases --- .github/workflows/release.yml | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..d04351e9 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,38 @@ +--- +name: Create Release + +on: + workflow_dispatch: + pull_request: + branches: [main, development] + push: + # tags: + # - "v*.*.*" + +jobs: + build: + runs-on: ubuntu-22.04 + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Download artifact + id: 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 + + - name: Display structure of downloaded files + run: ls -R + + # - name: Release + # uses: softprops/action-gh-release@v1 + # if: startsWith(github.ref, 'refs/tags/') + # with: + # files: | + # Release.txt + # LICENSE \ No newline at end of file