Add tools for extraction best k-mers (based on statistical tests) and new tool for components extraction #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Ant | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant | |
name: Build | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
- name: Build with Ant | |
run: ant -noinput -buildfile build.xml | |
- name: Git clone | |
run: | | |
cd ~ | |
git clone https://github.com/ctlab/metafx | |
- name: Upload sh | |
uses: actions/upload-artifact@v3 | |
with: | |
name: metafast.sh | |
path: out/metafast.sh | |
- name: Download sh | |
uses: actions/download-artifact@v3 | |
with: | |
name: metafast.sh | |
path: ~/metafx/bin/metafx-modules/ | |
- name: Git push | |
env: | |
GITHUB_TOKEN: ${{ secrets.ACTIONS_GITHUB_TOKEN }} | |
run: | | |
cd ~/metafx | |
git config user.email "[email protected]" | |
git config user.name "ivartb" | |
git add bin/metafx-modules/metafast.sh | |
git commit -m "Automatically update metafast.sh" | |
git remote set-url --push origin https://ivartb:[email protected]/ctlab/metafx | |
git push |