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

fix(ci): use secrets.GITHUB_TOKEN for release #121

Merged
1 commit merged into from
Mar 18, 2024
Merged

fix(ci): use secrets.GITHUB_TOKEN for release #121

1 commit merged into from
Mar 18, 2024

Conversation

jjliggett
Copy link
Owner

@jjliggett jjliggett commented Mar 17, 2024

This is an attempt to resolve the following issue:

image

##[debug]Evaluating condition for step: 'Create GitHub release'
##[debug]Evaluating: (success() && (github.ref == 'refs/heads/root') && (env.VERSION != env.PREVIOUS_COMMIT_VERSION))
##[debug]Evaluating And:
##[debug]..Evaluating success:
##[debug]..=> true
##[debug]..Evaluating Equal:
##[debug]....Evaluating Index:
##[debug]......Evaluating github:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'ref'
##[debug]....=> 'refs/heads/root'
##[debug]....Evaluating String:
##[debug]....=> 'refs/heads/root'
##[debug]..=> true
##[debug]..Evaluating NotEqual:
##[debug]....Evaluating Index:
##[debug]......Evaluating env:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'VERSION'
##[debug]....=> '0.3.44'
##[debug]....Evaluating Index:
##[debug]......Evaluating env:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'PREVIOUS_COMMIT_VERSION'
##[debug]....=> '0.3.43'
##[debug]..=> true
##[debug]=> true
##[debug]Expanded: (true && ('refs/heads/root' == 'refs/heads/root') && ('0.3.44' != '0.3.43'))
##[debug]Result: true
##[debug]Starting: Create GitHub release
##[debug]Loading inputs
##[debug]Evaluating: secrets.RELEASES_TOKEN
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'RELEASES_TOKEN'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Evaluating: format('v{0}', env.VERSION)
##[debug]Evaluating format:
##[debug]..Evaluating String:
##[debug]..=> 'v{0}'
##[debug]..Evaluating Index:
##[debug]....Evaluating env:
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'VERSION'
##[debug]..=> '0.3.44'
##[debug]=> 'v0.3.44'
##[debug]Result: 'v0.3.44'
##[debug]Evaluating: format('jjversion-ghao-{0}-linux-x64/jjversion-ghao
##[debug]jjversion-ghao-{1}-darwin-amd64/jjversion-ghao-darwin
##[debug]jjversion-ghao-{2}-windows-x64/jjversion-ghao.exe
##[debug]README.md
##[debug]LICENSE.md
##[debug]jjversion-ghao-docs-and-licenses-{3}.zip
##[debug]', env.VERSION, env.VERSION, env.VERSION, env.VERSION)
##[debug]Evaluating format:
##[debug]..Evaluating String:
##[debug]..=> 'jjversion-ghao-{0}-linux-x64/jjversion-ghao
##[debug]jjversion-ghao-{1}-darwin-amd64/jjversion-ghao-darwin
##[debug]jjversion-ghao-{2}-windows-x64/jjversion-ghao.exe
##[debug]README.md
##[debug]LICENSE.md
##[debug]jjversion-ghao-docs-and-licenses-{3}.zip
##[debug]'
##[debug]..Evaluating Index:
##[debug]....Evaluating env:
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'VERSION'
##[debug]..=> '0.3.44'
##[debug]..Evaluating Index:
##[debug]....Evaluating env:
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'VERSION'
##[debug]..=> '0.3.44'
##[debug]..Evaluating Index:
##[debug]....Evaluating env:
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'VERSION'
##[debug]..=> '0.3.44'
##[debug]..Evaluating Index:
##[debug]....Evaluating env:
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'VERSION'
##[debug]..=> '0.3.44'
##[debug]=> 'jjversion-ghao-0.3.44-linux-x64/jjversion-ghao
##[debug]jjversion-ghao-0.3.44-darwin-amd64/jjversion-ghao-darwin
##[debug]jjversion-ghao-0.3.44-windows-x64/jjversion-ghao.exe
##[debug]README.md
##[debug]LICENSE.md
##[debug]jjversion-ghao-docs-and-licenses-0.3.44.zip
##[debug]'
##[debug]Result: 'jjversion-ghao-0.3.44-linux-x64/jjversion-ghao
##[debug]jjversion-ghao-0.3.44-darwin-amd64/jjversion-ghao-darwin
##[debug]jjversion-ghao-0.3.44-windows-x64/jjversion-ghao.exe
##[debug]README.md
##[debug]LICENSE.md
##[debug]jjversion-ghao-docs-and-licenses-0.3.44.zip
##[debug]'
##[debug]Loading env
Run softprops/action-gh-release@9d7c94cfd0a1f3ed45544c887983e9fa900f0564
⚠️ Unexpected error fetching GitHub release for tag refs/heads/root: HttpError: Bad credentials
Error: Bad credentials
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Create GitHub release

This relates to:

@jjliggett jjliggett closed this pull request by merging all changes into root in d36d26f Mar 18, 2024
@jjliggett jjliggett deleted the develop branch March 18, 2024 02:02
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.

1 participant