Guest User

Untitled

a guest
Jun 14th, 2020
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.28 KB | None | 0 0
  1. name: Slate CI
  2.  
  3. on:
  4.   push:
  5.     branches: [ master ]
  6.     tags:
  7.      - "v*"
  8.   pull_request:
  9.     branches: [ master ]
  10.  
  11. jobs:
  12.   build:
  13.     runs-on: ubuntu-latest
  14.  
  15.     steps:
  16.     - uses: actions/checkout@v2
  17.     - name: install_deps
  18.       run: sudo apt install nasm clang
  19.     - name: build
  20.       run: sudo make ci
  21.     - name: delete
  22.       uses: ame-yu/action-delete-latest-release@v2
  23.       with:
  24.           github_token: ${{ secrets.GITHUB_TOKEN }}
  25.     - name: bump
  26.       uses: opspresso/action-version@master
  27.     - name: release
  28.       uses: "marvinpinto/action-automatic-releases@latest"
  29.       with:
  30.         repo_token: "${{ secrets.GITHUB_TOKEN }}"
  31.         automatic_release_tag: null
  32.         prerelease: true
  33.         title: "Slate"
  34.         files: slate.img
  35.  
  36. #  codeql:
  37. #    
  38. #    runs-on: ubuntu-latest
  39. #    
  40. #    steps:
  41. #    - name: checkout
  42. #      uses: actions/checkout@v2
  43. #      with:
  44. #        fetch-depth: 2
  45. #
  46. #    - run: git checkout HEAD^2
  47. #      if: ${{ github.event_name == 'pull_request' }}
  48. #
  49. #    - name: codeql_init
  50. #      uses: github/codeql-action/init@v1
  51. #      with:
  52. #        languages: cpp
  53. #    - name: codeql_autobuild
  54. #      uses: github/codeql-action/autobuild@v1
  55. #
  56. #    - name: codeql_analyze
  57. #      uses: github/codeql-action/analyze@v1
Add Comment
Please, Sign In to add comment