Advertisement
techblog

git-action-release

May 7th, 2022
1,151
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ---
  2. name: "release"
  3.  
  4. on:
  5.   push:
  6.     branches:
  7.      - "master"
  8.  
  9. jobs:
  10.   release:
  11.     name: "Release"
  12.     runs-on: "ubuntu-latest"
  13.  
  14.     steps:
  15.      # ...
  16.       - name: "Build & test"
  17.         run: |
  18.          echo "done!"
  19.  
  20.       - uses: "marvinpinto/action-automatic-releases@latest"
  21.         with:
  22.           repo_token: "${{ secrets.GITHUB_TOKEN }}"
  23.           automatic_release_tag: "latest"
  24.           prerelease: false
  25.           title: "Development Build"
  26.  
Advertisement
RAW Paste Data Copied
Advertisement