Skip to content

fix: compatibilização com o SEI 4.1. Issues #60, #64 e #75. #6

fix: compatibilização com o SEI 4.1. Issues #60, #64 e #75.

fix: compatibilização com o SEI 4.1. Issues #60, #64 e #75. #6

Workflow file for this run

name: Publish Release
on:
push:
tags:
- '*'
jobs:
build:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Dist
run: make dist
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
shell: bash
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body_path: dist/NOTAS_VERSAO.md
draft: false
prerelease: true
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/mod-wssei-${{ steps.get_version.outputs.VERSION }}.zip
asset_name: mod-wssei-${{ steps.get_version.outputs.VERSION }}.zip
asset_content_type: application/zip