Skip to content

.github/workflows/download_release.yml #2

.github/workflows/download_release.yml

.github/workflows/download_release.yml #2

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: 'https://github.com/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
# - uses: robinraju/release-downloader@v1
# with:
# repository: 'https://github.com/Testing-By-Specification/testspec-java'
# latest: true
# fileName: '*.jar'
# token: ${{ secrets.RELEASE_TOKEN }}