Merge pull request #16 from ColmexBDCV/pruebas #7
Workflow file for this run
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: Get GitHub TAR | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
download-tar: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download GitHub-generated TAR | |
run: | | |
# El nombre del tag está en `github.ref_name`, | |
# y el repo en `github.repository` | |
wget -O source.tar.gz \ | |
"https://github.com/${{ github.repository }}/archive/refs/tags/${{ github.ref_name }}.tar.gz" | |
- name: Checksum | |
run: sha256sum source.tar.gz > checksum.txt | |
- name: Show checksum | |
run: cat checksum.txt |