-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
Migrate Jenkins build job "cyberduck-release-windows" to GitHub Actions #15555
base: master
Are you sure you want to change the base?
Migrate Jenkins build job "cyberduck-release-windows" to GitHub Actions #15555
Conversation
…-release-windows set distributionManagement repos to local
…ndows-to-actions-20231210-172433 Convert cyberduck-release-windows to GitHub Actions
…-release-windows Add option for git tag
…-release-windows Fix WORKSPACE variable
…ndows-chocolatey-to-actions-20231211-122942 Convert cyberduck-release-windows-chocolatey to GitHub Actions
Added Secret API Key
…-release-windows Features/migration cyberduck release windows
…h environment variable
|
- name: clean workspace | ||
shell: ruby {0} | ||
run: |- | ||
require "fileutils" | ||
Dir.chdir(ENV["GITHUB_WORKSPACE"]) do | ||
paths = Dir.glob(["**/*"]) | ||
paths -= Dir.glob([".git/**", ".repository/**"]) | ||
paths.each do |path| | ||
File.delete(path) if File.file?(path) | ||
FileUtils.rm_rf(path) if File.directory?(path) | ||
end | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cleanup of workspace is not required in GitHub Actions context.
uses: actions/[email protected] | ||
with: | ||
fetch-depth: '0' | ||
ref: ${{ inputs.GIT_TAG }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't think this input is required when the user selects a tag for the run from Run workflow.
!**/*~ | ||
!**/#*# | ||
!**/.#* | ||
!**/%*% | ||
!**/._* | ||
!**/CVS | ||
!**/CVS/** | ||
!**/.cvsignore | ||
!**/SCCS | ||
!**/SCCS/** | ||
!**/vssver.scc | ||
!**/.svn | ||
!**/.svn/** | ||
!**/.DS_Store | ||
!**/.git | ||
!**/.git/** | ||
!**/.gitattributes | ||
!**/.gitignore | ||
!**/.gitmodules | ||
!**/.hg | ||
!**/.hg/** | ||
!**/.hgignore | ||
!**/.hgsub | ||
!**/.hgsubstate | ||
!**/.hgtags | ||
!**/.bzr | ||
!**/.bzr/** | ||
!**/.bzrignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not required.
FHNW: CI/CD conceptualisation for Cyberduck
Migrate Jenkins build job "cyberduck-release-windows" to GitHub Actions