-
| 
         I wonder is it possible to use 2 different github environments in one github workflow job? For different steps? I would like to publish the RC candidate on testpypi, while the official release then on pypi and all this with trusted publishing? Does anyone else have this workflow?  | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            webknjaz
          
      
      
        Aug 28, 2024 
      
    
    Replies: 1 comment
-
| 
         No, that's not possible due to how GitHub works. You should instead sequence separate publishing jobs (or have them configured to run in parallel). Protection rules will give you enough control.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        webknjaz
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
No, that's not possible due to how GitHub works. You should instead sequence separate publishing jobs (or have them configured to run in parallel). Protection rules will give you enough control.