diff options
author | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2021-04-11 09:34:17 -0400 |
---|---|---|
committer | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2021-04-11 09:34:17 -0400 |
commit | de3a745e1af2e441de868c2aa4849102d376acb5 (patch) | |
tree | c2d7767600dc519b2613ddecaf7e53fb5e8867a2 /.github/workflows/release.yml | |
parent | 03fab17277fee7387fd93a9c2774b1ebf3f80fe4 (diff) |
Initial pass reformatting all code.
Use clang-format, LuaFormatter, and 100 character limit on lines.
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r-- | .github/workflows/release.yml | 16 |
1 files changed, 7 insertions, 9 deletions
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: |