Error in github action #530
Replies: 4 comments 1 reply
-
| I guess I needed to give my ci/cd user an uploader role. Closing. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| Glad I could help:)… On Fri, 8 Dec 2023, 1:32 am JakeHadley, ***@***.***> wrote:
 Closed #530 <#530> as
 resolved.
 —
 Reply to this email directly, view it on GitHub
 <#530>, or unsubscribe
 <https://github.com/notifications/unsubscribe-auth/AAG32OGCEAOJFBUJSMS7GELYIHHOJAVCNFSM6AAAAABALDON3SVHI2DSMVQWIX3LMV45UABEIRUXGY3VONZWS33OIV3GK3TUHI5E433UNFTGSY3BORUW63R3HE4TENJQGE>
 .
 You are receiving this because you are subscribed to this thread.Message
 ID: ***@***.***
 .com>
 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| Would you mind if I published your action as an example in the invitation
onepub documentation?… On Fri, 8 Dec 2023, 6:25 am Brett Sutton, ***@***.***> wrote:
 Glad I could help:)
 On Fri, 8 Dec 2023, 1:32 am JakeHadley, ***@***.***> wrote:
> Closed #530 <#530> as
> resolved.
>
> —
> Reply to this email directly, view it on GitHub
> <#530>, or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAG32OGCEAOJFBUJSMS7GELYIHHOJAVCNFSM6AAAAABALDON3SVHI2DSMVQWIX3LMV45UABEIRUXGY3VONZWS33OIV3GK3TUHI5E433UNFTGSY3BORUW63R3HE4TENJQGE>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: <onepub-dev/onepub/repo-discussions/530/discussion_event/992501@
> github.com>
>
 | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            -
| Thanks… On Fri, 8 Dec 2023, 6:30 am JakeHadley, ***@***.***> wrote:
 Sure, this is what it evolved into:
 name: Publish
 on:
   push:
     branches:
       - master
 jobs:
   release:
     runs-on: ubuntu-latest
     steps:
         - uses: ***@***.***
         - uses: ***@***.***
           with:
             channel: 'stable'
             flutter-version: '3.13.8'
         - name: Set up onepub
           run: |
             flutter pub global activate onepub
             export ONEPUB_TOKEN="${{ secrets.ONEPUB_T }}"; onepub import
         - name: Dry run publish to onepub
           id: dryrun
           run: |
             dart pub publish -n
         - name: Publish to onepub
           if: steps.dryrun.outcome == 'success'
           run: |
             dart pub publish -f
 Feel free to do with it as you will.
 —
 Reply to this email directly, view it on GitHub
 <#530 (reply in thread)>,
 or unsubscribe
 <https://github.com/notifications/unsubscribe-auth/AAG32OFKTAXGIVQJCDIL7J3YIIKOJAVCNFSM6AAAAABALDON3SVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TOOJTGEZDE>
 .
 You are receiving this because you commented.Message ID:
 ***@***.***>
 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
What is going wrong here? This is happening in my github action to publish to onepub. The action looks like this:
The output is this:
Beta Was this translation helpful? Give feedback.
All reactions