Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update push.yml #368

Merged
merged 2 commits into from
Nov 24, 2023
Merged

Update push.yml #368

merged 2 commits into from
Nov 24, 2023

Conversation

cschuchardt88
Copy link
Member

ONLY MERGE IF NEEDED FOR FIX #358 (comment)

.github/workflows/push.yml Show resolved Hide resolved
@cschuchardt88
Copy link
Member Author

Run dotnet nuget push ./out/*.nupkg --source https://www.myget.org/F/neo/api/v3/index.json --api-key ${MYGET_TOKEN}
Required argument missing for option: '--api-key'.

Specify --help for a list of available options and commands.
error: Missing value for option 'api-key'

@Jim8y
Copy link
Contributor

Jim8y commented Nov 24, 2023

Run dotnet nuget push ./out/*.nupkg --source https://www.myget.org/F/neo/api/v3/index.json --api-key ${MYGET_TOKEN}
Required argument missing for option: '--api-key'.

Specify --help for a list of available options and commands.
error: Missing value for option 'api-key'

Wait a minute, did you run it on your own repo? or you run it here? Its triggered on push, will only be run here if i merge it.

@Jim8y Jim8y merged commit 9d70b3c into neo-project:master Nov 24, 2023
2 checks passed
@cschuchardt88
Copy link
Member Author

@cschuchardt88
Copy link
Member Author

looks like it working now.

@Jim8y
Copy link
Contributor

Jim8y commented Nov 24, 2023

@cschuchardt88 https://github.com/neo-project/neo-express/actions/runs/6976519481

- name: Upload Build Log
  if: always()
  uses: actions/upload-artifact@v3
  with:
    name: buildlog
    path: ./msbuild.binlog

- name: Upload NeoExpress
  uses: actions/upload-artifact@v3
  with:
    name: packages
    path: ./out/*.nupkg

This creates a 90MB file to github storage on every run, can you figure out a way to avoid this? maybe no upload and download process but merge pack and publish jobs together? neo-project only has 500 MB storage, around 5 commits will consume all storage.

@cschuchardt88
Copy link
Member Author

@Liaojinghui
image

i didnt see symbol get uploaded? Can you check?

myget says for symbols
https://docs.myget.org/docs/reference/symbols

If .nupkg and .snupkg packages are in the same folder, you only need to us push command for nupkg (we will detect the .snupkg and push it for you):

@Jim8y
Copy link
Contributor

Jim8y commented Nov 24, 2023

It is even enabled? i do not see its configed in neoxp

@Jim8y
Copy link
Contributor

Jim8y commented Nov 24, 2023

By the way,lets try to work on development branch, will need to update workflows to support development branch. In that branch i have more permission to work much more flexible.

Jim8y added a commit that referenced this pull request Nov 24, 2023
* Update push.yml

* fix

Co-authored-by: Christopher Schuchardt <[email protected]>
@cschuchardt88 cschuchardt88 deleted the Fix-Workflow branch November 24, 2023 03:49
@cschuchardt88
Copy link
Member Author

@Liaojinghui its in Directory.Build.props

<SymbolPackageFormat>snupkg</SymbolPackageFormat>

@cschuchardt88
Copy link
Member Author

@Liaojinghui now if we combine pack and publish, then it will publish on PRs too? is that ok?

@Jim8y
Copy link
Contributor

Jim8y commented Nov 24, 2023

No, cant way not run pack on pr?

@cschuchardt88
Copy link
Member Author

Look at #371 i think its ok?

@Jim8y
Copy link
Contributor

Jim8y commented Nov 24, 2023

@Liaojinghui its in Directory.Build.props

<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

Jim8y added a commit that referenced this pull request Nov 24, 2023
* Update push.yml

* fix

Co-authored-by: Christopher Schuchardt <[email protected]>
Jim8y added a commit that referenced this pull request Nov 24, 2023
* master:
  Update push.yml (#368)
Jim8y added a commit that referenced this pull request Nov 25, 2023
* Update push.yml (#368) (#370)

* Update push.yml

* fix

Co-authored-by: Christopher Schuchardt <[email protected]>

* Update push.yml (#368) (#372)

* Update push.yml

* fix

Co-authored-by: Christopher Schuchardt <[email protected]>

* move code files

---------

Co-authored-by: Jimmy <[email protected]>
Co-authored-by: Christopher Schuchardt <[email protected]>
Co-authored-by: Jinghui Liao <[email protected]>
Jim8y added a commit that referenced this pull request Nov 26, 2023
* Update push.yml (#368) (#370)

* Update push.yml

* fix

Co-authored-by: Christopher Schuchardt <[email protected]>

* Update push.yml (#368) (#372)

* Update push.yml

* fix

Co-authored-by: Christopher Schuchardt <[email protected]>

* Fixed pr and push and default config for projects

* change step name

* Added names to the steps

* changed workflow names

* fixed up *.csproj

* fixed issue with packing on neoxp

* fixed deps

* fixed deps again

* fixed debug embed

* removed debug from neoxp

* changed name back

* workflow name change

* nevermind changed back

* changed name workflow back

* Update test.yml

* Spread out myget packages in to steps for upload

* Update .github/workflows/pack.yml

* Update .github/workflows/pr.yml

* Update .github/workflows/pr.yml

* Update .github/workflows/pr.yml

---------

Co-authored-by: Jimmy <[email protected]>
Co-authored-by: Jinghui Liao <[email protected]>
Jim8y added a commit that referenced this pull request Nov 28, 2023
* Update push.yml (#368) (#370)

* Update push.yml

* fix

Co-authored-by: Christopher Schuchardt <[email protected]>

* Update push.yml (#368) (#372)

* Update push.yml

* fix

Co-authored-by: Christopher Schuchardt <[email protected]>

* init

* exec with file

* load nef file

* Update src/neoxp/Commands/ExecuteCommand.cs

* Update src/neoxp/Commands/ExecuteCommand.cs

* Update src/neoxp/Commands/ExecuteCommand.cs

* Update src/neoxp/Commands/ExecuteCommand.cs

* Update src/neoxp/Commands/ExecuteCommand.cs

* Update src/neoxp/Commands/ExecuteCommand.cs

* update description

---------

Co-authored-by: Jimmy <[email protected]>
Co-authored-by: Christopher Schuchardt <[email protected]>
Co-authored-by: Jinghui Liao <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants