Skip to content

Update download.yml #17

Update download.yml

Update download.yml #17

Workflow file for this run

name: Download Release
# Controls when the workflow will run
on:
push:
# Sequence of patterns matched against refs/tags ver
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
get_asset:
runs-on: ubuntu-latest
steps:
- name: List Releases
run: gh release list --repo adminxeq/xeq-wallet
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW }}
- name: Fetch asset
run: gh release download --repo adminxeq/xeq-wallet v22.0.0
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW }}
- name: See what we downloaded
run: ls
- name: Upload artifacts
uses: actions/upload-artifact@v1
with:
name: ${{ runner.OS }}
path: .
- name: Release
uses: softprops/action-gh-release@v1
with:
files: ./*
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW }}