Add GitHub Actions workflow for automatically creating releases.

This commit is contained in:
Steveice10 2023-05-09 18:40:14 -07:00
parent fbaba84b32
commit f19ac2c03d

View File

@ -102,3 +102,25 @@ jobs:
with:
name: "MoltenVK"
path: "MoltenVK.tar"
release:
name: 'Release'
needs: [build]
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/tags/') }}
permissions:
contents: write
steps:
- name: Download Artifacts
uses: actions/download-artifact@v3
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: "MoltenVK/*"
artifactErrorsFailBuild: true