Skip to content

Release Droid - Upload GitHub Release Assets #15

Release Droid - Upload GitHub Release Assets

Release Droid - Upload GitHub Release Assets #15

name: Release Droid - Upload GitHub Release Assets
on:
workflow_dispatch:
inputs:
upload_url:
description: 'Upload URL'
required: true
jobs:
release:
strategy:
matrix:
python-version: [ 3.8 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Free disk space
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
large-packages: false
- name: Setup Python & Poetry Environment
uses: ./.github/actions/prepare_poetry_env
with:
python-version: ${{ matrix.python-version }}
- name: Build language container
run: poetry run nox -s export_slc
- name: Upload assets to the GitHub release draft
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.inputs.upload_url }}
asset_path: dist/*
- name: Upload script-language container
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.inputs.upload_url }}
asset_path: export/exasol_transformers_extension_container*