File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : publish 
2+ 
3+ #  Controls when the workflow will run
4+ on :
5+     
6+     #  Workflow will run when a release has been published for the package
7+     release :
8+         types :
9+             - published 
10+ 
11+     #  Allows you to run this workflow manually from the Actions tab
12+     workflow_dispatch :
13+ 
14+ #  A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+ jobs :
16+ 
17+     #  This workflow contains a single job called "publish"
18+     publish :
19+ 
20+         #  The type of runner that the job will run on
21+         runs-on : ubuntu-latest 
22+ 
23+         #  Steps represent a sequence of tasks that will be executed as part of the job
24+         steps :
25+ 
26+             #  Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
27+             -   uses : actions/checkout@v3 
28+ 
29+             -   name : Set up Python 3.9 
30+                 uses : actions/setup-python@v3 
31+                 with :
32+                     python-version : 3.9 
33+                     cache : pip 
34+ 
35+             -   name : To PyPI using Flit 
36+                 uses : AsifArmanRahman/to-pypi-using-flit@v1 
37+                 with :
38+                     password : ${{ secrets.PYPI_API_TOKEN }} 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments