From 31b9eadece2df72926d938f3c36a1dd1d141f738 Mon Sep 17 00:00:00 2001 From: Volodymyr Rozdolsky Date: Sun, 1 Sep 2024 12:17:17 -0400 Subject: [PATCH] housekeeping --- .github/old-action.yml | 29 --------------------- .github/workflows/download_release.yml | 36 +------------------------- 2 files changed, 1 insertion(+), 64 deletions(-) delete mode 100644 .github/old-action.yml diff --git a/.github/old-action.yml b/.github/old-action.yml deleted file mode 100644 index 554c16a..0000000 --- a/.github/old-action.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: 'Testspec Action' -description: 'This action clones testspec java private repository and runs as an action' -inputs: - repo_url: - description: 'The URL of the repository to clone' - required: true - default: "https://github.com/Testing-By-Specification/testspec-java" - action_path: - description: 'The path to the action in the cloned repository' - required: true - default: ./gradlew build - -runs: - using: 'composite' - steps: - - name: Checkout the private repository - run: | - git clone https://${{ secrets.RELEASE_TOKEN }}@${{ inputs.repo_url }} cloned-repo - shell: bash - - - name: Run the action from cloned repository - run: | - cd cloned-repo - ./${{ inputs.action_path }} - shell: bash - -branding: - icon: 'anchor' - color: 'green' diff --git a/.github/workflows/download_release.yml b/.github/workflows/download_release.yml index 7e8184c..4287ca8 100644 --- a/.github/workflows/download_release.yml +++ b/.github/workflows/download_release.yml @@ -1,35 +1 @@ -name: Publish package to GitHub Packages -on: - workflow_dispatch: - inputs: - publish_maven: - description: "Publishing to GitHub Packages" - required: true - type: boolean -jobs: - download_jar: - runs-on: ubuntu-latest - steps: - - uses: dsaltares/fetch-gh-release-asset@master - with: - repo: 'Testing-By-Specification/testspec-java' - version: 'tags/0.0.4' - file: 'testspec-java-0.0.4-all.jar' - token: ${{ secrets.RELEASE_TOKEN }} - - - name: List Build Directory Contents - run: ls -alh - - - name: Cech for java - run: java --version - - - name: List Build Directory Contents - run: jar xvf testspec-java-0.0.4-all.jar - -# - uses: robinraju/release-downloader@v1 -# with: -# repository: 'https://github.com/Testing-By-Specification/testspec-java' -# latest: true -# fileName: '*.jar' -# token: ${{ secrets.RELEASE_TOKEN }} - +# \ No newline at end of file