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