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

Sample usage #1

Open
niemyjski opened this issue Oct 5, 2022 · 6 comments
Open

Sample usage #1

niemyjski opened this issue Oct 5, 2022 · 6 comments

Comments

@niemyjski
Copy link

Would you mind including a readme with sample usage?

@yaeszlo
Copy link
Owner

yaeszlo commented Oct 5, 2022

I will try to see into it, as it's an action I prepared for the use with one of my company private repos, so I'm not sure if it will work right away. I will get back to you on this

niemyjski added a commit to niemyjski/dotnetreactor-setup-action that referenced this issue Oct 10, 2022
@yaeszlo
Copy link
Owner

yaeszlo commented Oct 19, 2022

I am sorry it took so long

here's how it's used in CI workflow

    - name: Setup obfuscator
      uses: yaeszlo/dotnetreactor-setup-action@master
      with:
        license: ${{ secrets.DOTREACTOR_LICENSE_BASE64 }}

so basically all you need to do is to encode your .v3lic file to base64. Do not specify any encoding while doing so (like utf-8) because it will not work then.

EDIT:
I remembered the problem was we did not know how to access the dotreactor after the setup.

the path to it should be something like this "D:\a\_actions\yaeszlo\dotnetreactor-setup-action\master\dotNET_Reactor.Console.exe" -project "ProjectName.nrproj" -licensed

should be improved but since it works for us internally like this it will not be done very soon.

@niemyjski
Copy link
Author

@yaeszlo Feel free to merge my pr and we should update the readme with this example. I'm adding the dotnet reactor to the path in powershell like this: Add-Content $env:GITHUB_PATH "fullpath" Then it just works referencing it like dotNET_Reactor.Console.exe -project "ProjectName.nrproj" -licensed Would be good to do this from inside the action.

@yaeszlo
Copy link
Owner

yaeszlo commented Oct 19, 2022

I will, just need to check file hashes before I do ;)

@yaeszlo
Copy link
Owner

yaeszlo commented Oct 20, 2022

@niemyjski hey, I downloaded latest version from eziriz.com but the newest Windows build is 6.9.0.0. Where did you get 6.9.0.7 from?

@niemyjski
Copy link
Author

They sent it to me, I have a newer build as well. Just feel free to update it with what is on their website.

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

No branches or pull requests

2 participants