sign.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # This is a basic workflow to help you get started with Actions
  2. name: Sign
  3. # Controls when the action will run. Triggers the workflow on push or pull request
  4. # events but only for the master branch
  5. on:
  6. release:
  7. types: [released]
  8. # A workflow run is made up of one or more jobs that can run sequentially or in parallel
  9. jobs:
  10. # This workflow contains a single job called "build"
  11. build:
  12. # The type of runner that the job will run on
  13. runs-on: ubuntu-latest
  14. # Steps represent a sequence of tasks that will be executed as part of the job
  15. steps:
  16. # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
  17. - uses: actions/checkout@v2
  18. # Invoke release signing
  19. - name: make it run
  20. run: chmod +x $GITHUB_WORKSPACE/release/requestsign_github.sh
  21. # Invoke release signing
  22. - name: make it run
  23. run: chmod +x $GITHUB_WORKSPACE/release/requestsign.sh
  24. # Invoke release signing
  25. - name: Invoke release signing
  26. env:
  27. SIGN_SERVICE_PASSWORD: ${{ secrets.SIGN_SERVICE_PASSWORD }}
  28. SIGN_SERIVCE_URL: ${{ secrets.SIGN_SERIVCE_URL }}
  29. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  30. run: $GITHUB_WORKSPACE/release/requestsign_github.sh