Skip to content

Commit

Permalink
fix variable usage and remove earlier left-overs
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Benz authored and mbenz89 committed Dec 29, 2021
1 parent 91a5a36 commit 9460c37
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 199 deletions.
70 changes: 1 addition & 69 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,78 +69,11 @@ jobs:
- name: Get Version
id: version
run: echo ::set-output name=version::$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)

- name: Copy JavaDoc to remote
uses: appleboy/scp-action@master
if: "false"
with:
host: ${{ secrets.remote_host }}
key: ${{ secrets.ssh_proxy_key }}
proxy_host: ${{ secrets.ssh_proxy_host }}
proxy_key: ${{ secrets.ssh_proxy_key }}
source: "./target/sootclasses-trunk-javadoc.jar"
target: "${{ secrets.remote_dir }}/{{ steps.version.outputs.version }}-javadoc.jar"

- name: Copy Options to remote
if: "false"
uses: appleboy/scp-action@master
with:
host: ${{ secrets.remote_host }}
key: ${{ secrets.ssh_proxy_key }}
proxy_host: ${{ secrets.ssh_proxy_host }}
proxy_key: ${{ secrets.ssh_proxy_key }}
source: "./doc/soot_options.htm"
target: "${{ secrets.remote_dir }}/{{ steps.version.outputs.version }}-soot_options.htm"

- name: Deploy SNAPSHOT documentation
if: github.ref == 'refs/heads/develop' && false
uses: appleboy/ssh-action@master
env:
basedir: ${{ secrets.remote_dir }}/origin/${GITHUB_REF##*/}/soot/soot-${GITHUB_REF##*/}
file_prefix: ${{ secrets.remote_dir }}/{{ steps.version.outputs.version }}
with:
host: ${{ secrets.remote_host }}
key: ${{ secrets.ssh_proxy_key }}
proxy_host: ${{ secrets.ssh_proxy_host }}
proxy_key: ${{ secrets.ssh_proxy_key }}
script: |
rm -r ${basedir}/jdoc || true
mkdir -p ${basedir}/jdoc
unzip ${file_prefix }-javadoc.jar -d ${basedir}/jdoc/
rm ${file_prefix}-javadoc.jar
rm -r ${basedir}/options || true
mkdir -p ${basedir}/options
cp ${file_prefix}-soot_options.htm ${basedir}/options
rm ${file_prefix}-soot_options.htm
- name: Deploy Release documentation
if: github.ref == 'refs/heads/master' && false
uses: appleboy/ssh-action@master
env:
basedir: ${{ secrets.remote_dir }}/origin/${GITHUB_REF##*/}/soot/soot-${GITHUB_REF##*/}/${{ steps.version.outputs.version }}
file_prefix: ${{ secrets.remote_dir }}/{{ steps.version.outputs.version }}
with:
host: ${{ secrets.remote_host }}
key: ${{ secrets.ssh_proxy_key }}
proxy_host: ${{ secrets.ssh_proxy_host }}
proxy_key: ${{ secrets.ssh_proxy_key }}
script: |
rm -r ${basedir}/jdoc || true
mkdir -p ${basedir}/jdoc
unzip ${file_prefix}-javadoc.jar -d ${basedir}/jdoc/
rm ${file_prefix}-javadoc.jar
rm -r ${basedir}/options || true
mkdir -p ${basedir}/options
cp ${file_prefix}-soot_options.htm ${basedir}/options
rm ${file_prefix}-soot_options.htm

- name: Organize documentation files for upload
if: false
shell: bash
env:
docdir: ./build/docs/{{ steps.version.outputs.version }}
docdir: ./build/docs/${{ steps.version.outputs.version }}
run: |
mkdir -p ${docdir}/jdoc
unzip ./target/sootclasses-trunk-javadoc.jar -d ${docdir}/jdoc/
Expand All @@ -151,7 +84,6 @@ jobs:
- name: Deploy JavaDoc to GH pages
if: false
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
Expand Down
130 changes: 0 additions & 130 deletions .github/workflows/ci.yml.orig

This file was deleted.

0 comments on commit 9460c37

Please sign in to comment.