summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorRay <[email protected]>2020-01-10 12:04:16 +0100
committerGitHub <[email protected]>2020-01-10 12:04:16 +0100
commitc7fe2c772e89216be949fd2779520d7517fd0800 (patch)
tree7939a279b4037ef0321184edfd52bd85129e394c /.github/workflows
parenta4a10a6edd8a0d56b46e1839cd124e8ae51d8ef8 (diff)
downloadraylib-c7fe2c772e89216be949fd2779520d7517fd0800.tar.gz
raylib-c7fe2c772e89216be949fd2779520d7517fd0800.zip
Update cd_src_release.yml
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/cd_src_release.yml24
1 files changed, 8 insertions, 16 deletions
diff --git a/.github/workflows/cd_src_release.yml b/.github/workflows/cd_src_release.yml
index 21d2d3b7..068864d1 100644
--- a/.github/workflows/cd_src_release.yml
+++ b/.github/workflows/cd_src_release.yml
@@ -1,6 +1,9 @@
name: CD - Source Build & Release - Linux
-on: release
+# Trigger the workflow on release create activity
+on:
+ release:
+ types: create
jobs:
release:
@@ -8,23 +11,12 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@master
- - name: Build project # This would actually build your project, using zip for an example artifact
+
+ # TODO: Build project and zip generated files
+ - name: Build project
run: |
zip raylib.zip README.md
- - name: Create Release
- id: create_release
- uses: actions/create-release@v1
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- tag_name: ${{ github.ref }}
- release_name: Release ${{ github.ref }}
- body: |
- Changes in this Release
- - First Change
- - Second Change
- draft: false
- prerelease: false
+
- name: Upload Release Asset
id: upload-release-asset
uses: actions/[email protected]