Skip to content

Commit

Permalink
feat(CI): Create automatic releases
Browse files Browse the repository at this point in the history
  • Loading branch information
GoetzGoerisch committed Jul 20, 2023
1 parent 9c9dc62 commit c4ce041
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c4ce041

Please sign in to comment.