diff options
| author | Ray <[email protected]> | 2020-08-17 20:48:44 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-08-17 20:48:44 +0200 |
| commit | 4fd227527eac4da40290e175e7b9dc6b4b9edb42 (patch) | |
| tree | 9da5340f5388201019c38dfb21c167e27cc9a2de /.github/workflows/cd_src_release.yml.disabled | |
| parent | 2dd4ab9535889beae83f8ed4e3f0883a5291ab1e (diff) | |
| download | raylib-4fd227527eac4da40290e175e7b9dc6b4b9edb42.tar.gz raylib-4fd227527eac4da40290e175e7b9dc6b4b9edb42.zip | |
Rename cd_src_release.yml to cd_src_release.yml.disabled
Diffstat (limited to '.github/workflows/cd_src_release.yml.disabled')
| -rw-r--r-- | .github/workflows/cd_src_release.yml.disabled | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/cd_src_release.yml.disabled b/.github/workflows/cd_src_release.yml.disabled new file mode 100644 index 00000000..4fa720ba --- /dev/null +++ b/.github/workflows/cd_src_release.yml.disabled @@ -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/[email protected] + 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 |
