From de3a745e1af2e441de868c2aa4849102d376acb5 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Sun, 11 Apr 2021 09:34:17 -0400 Subject: Initial pass reformatting all code. Use clang-format, LuaFormatter, and 100 character limit on lines. --- .github/workflows/release.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ee181d42..98866771 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,9 +22,9 @@ jobs: - name: Git init if necessary shell: bash run: | - # If git version is less than 2.18, a git clone will not be made in - # this container. In that case, make a temporary repository so - # "make release" can archive the repo's contents for release. + # If git version is less than 2.18, a git clone will not be made in this container. In + # that case, make a temporary repository so "make release" can archive the repo's + # contents for release. if [[ -d .git ]]; then exit 0; fi git init git add . @@ -59,24 +59,22 @@ jobs: # Output version information for use in later steps. version="${{ github.event.inputs.tag }}" if [[ -z $version ]]; then - version=`ls -1 src/textadept_*.zip | head -1 | - sed 's/[^_]\+_\(.\+\)\.[^.]\+\.zip/\1/;'` + version=`ls -1 src/textadept_*.zip | head -1 | sed 's/[^_]\+_\(.\+\)\.[^.]\+\.zip/\1/;'` fi echo "::set-output name=version::$version" - name: Package modules shell: bash run: | mkdir textadept-modules - modules="css ctags debugger export file_diff html lsp lua_repl \ - open_file_mode python rest ruby spellcheck yaml" + modules="css ctags debugger export file_diff html lsp lua_repl open_file_mode python \ + rest ruby spellcheck yaml" for module in $modules; do gh_name="`echo -n $module | sed -e 's/_/-/g;'`" gh_prefix="https://github.com/orbitalquark/textadept-$gh_name" wget $gh_prefix/releases/download/latest/$module.zip unzip -d textadept-modules $module.zip done - zip -r src/textadept_${{ steps.build.outputs.version }}.modules.zip \ - textadept-modules + zip -r src/textadept_${{ steps.build.outputs.version }}.modules.zip textadept-modules - name: Upload artifacts uses: actions/upload-artifact@v2 with: -- cgit v1.2.3