diff options
| author | Ray <[email protected]> | 2020-08-19 17:22:15 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-08-19 17:22:15 +0200 |
| commit | 1d6d58ef5b3140fbbdaf42c48d2b52c1ebe03b84 (patch) | |
| tree | ee8077aa247066cea5068df4ea84940f68953eb4 /.github | |
| parent | dfb1460236e52874f6550d4580ef7574de0b147b (diff) | |
| download | raylib-1d6d58ef5b3140fbbdaf42c48d2b52c1ebe03b84.tar.gz raylib-1d6d58ef5b3140fbbdaf42c48d2b52c1ebe03b84.zip | |
Update linux.yml
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/linux.yml | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index d0cc6108..c7110935 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -1,6 +1,10 @@ name: Linux -on: [push, pull_request] +on: + push: + pull_request: + release: + types: [published] jobs: build: @@ -40,6 +44,7 @@ jobs: sudo apt-get install gcc-multilib lib32gcc-7-dev sudo apt-get install -y --no-install-recommends libglfw3 libglfw3-dev libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libxext-dev libxfixes-dev + # TODO: Review i386 shared library building or remove it - name: Build Library run: | ls //usr/lib @@ -61,3 +66,14 @@ jobs: with: name: ${{ env.RELEASE_NAME }}.tar.gz path: ./build/${{ env.RELEASE_NAME }}.tar.gz + + - name: Upload Artifact to Release + uses: actions/[email protected] + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ github.event.release.upload_url }} + asset_path: ./build/${{ env.RELEASE_NAME }}.zip + asset_name: ${{ env.RELEASE_NAME }}.zip + asset_content_type: application/zip + if: github.event_name == 'release' && github.event.action == 'published' |
