Rename cd_src_release.yml to cd_src_release.yml.disabled
This commit is contained in:
parent
2dd4ab9535
commit
4fd227527e
1 changed files with 0 additions and 0 deletions
30
.github/workflows/cd_src_release.yml.disabled
vendored
Normal file
30
.github/workflows/cd_src_release.yml.disabled
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
name: CD - Source Build & Release - Linux
|
||||||
|
|
||||||
|
# Trigger the workflow on release publish
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@master
|
||||||
|
|
||||||
|
# TODO: Build project and zip generated files
|
||||||
|
- name: Build project
|
||||||
|
id: build_project
|
||||||
|
run: |
|
||||||
|
zip raylib.zip README.md
|
||||||
|
|
||||||
|
- name: Upload Release Asset
|
||||||
|
id: upload-release-asset
|
||||||
|
uses: actions/upload-release-asset@v1.0.1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
upload_url: ${{ github.event.release.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
||||||
|
asset_path: ./raylib.zip
|
||||||
|
asset_name: raylib.zip
|
||||||
|
asset_content_type: application/zip
|
||||||
Loading…
Reference in a new issue