.github/workflows/download_release.yml #4
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
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 }} | |