Add GitHub Actions workflow for automatically creating releases.
This commit is contained in:
parent
fbaba84b32
commit
f19ac2c03d
22
.github/workflows/CI.yml
vendored
22
.github/workflows/CI.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user