Skip to content

Feat: Create release and upload artefacts on tagging #16

Feat: Create release and upload artefacts on tagging

Feat: Create release and upload artefacts on tagging #16

Workflow file for this run

---
name: Create Release
on:
pull_request:
branches: [main, development]
push:
# tags:
# - "v*.*.*"
jobs:
release:
runs-on: ubuntu-22.04
if: github.ref != 'refs/heads/development'
steps:
- 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 }}
pr: ${{github.event.pull_request.number}}
if_no_artifact_found: fail
skip_unpack: true
- name: Test
run: cat *.zip/sha | grep $GITHUB_SHA
- 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