Skip to content

Commit

Permalink
Removed experimental parts from workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Oct 25, 2024
1 parent f6c8fd1 commit 3251470
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 24 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Build & Publish

on:
workflow_dispatch:
workflow_call:
secrets:
PYPI_TOKEN:
Expand Down Expand Up @@ -33,23 +32,12 @@ jobs:
gh release create ${GITHUB_REF_NAME}
--draft
--title ${GITHUB_REF_NAME}
--notes-file doc/changes/changes_0.1.0.md
--notes-file doc/changes/changes_${GITHUB_REF_NAME}.md
dist/*
.slc/*
# - name: GitHub Release
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: >
# gh release create ${GITHUB_REF_NAME}
# --draft
# --title ${GITHUB_REF_NAME}
# --notes-file doc/changes/changes_${GITHUB_REF_NAME}.md
# dist/*
# .slc/*

# - name: PyPi Release
# env:
# POETRY_HTTP_BASIC_PYPI_USERNAME: "__token__"
# POETRY_HTTP_BASIC_PYPI_PASSWORD: "${{ secrets.PYPI_TOKEN }}"
# run: poetry publish
- name: PyPi Release
env:
POETRY_HTTP_BASIC_PYPI_USERNAME: "__token__"
POETRY_HTTP_BASIC_PYPI_PASSWORD: "${{ secrets.PYPI_TOKEN }}"
run: poetry publish
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,3 @@ jobs:
- name: Branch Protection
run: true

experimental:
uses: ./.github/workflows/build-and-publish.yml
secrets: inherit

4 changes: 2 additions & 2 deletions exasol_advanced_analytics_framework/slc.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

LANGUAGE_ALIAS = "PYTHON3_AAF"
SLC_NAME = "exasol_advanced_analytics_framework_container"
SLC_FILE_NAME = SLC_NAME + ".tar.gz"
SLC_URL_FORMATTER = "https://github.com/exasol/advanced_analytics_framework/releases/download/{version}/" + SLC_NAME
SLC_FILE_NAME = SLC_NAME + "_release.tar.gz"
SLC_URL_FORMATTER = "https://github.com/exasol/advanced_analytics_framework/releases/download/{version}/" + SLC_FILE_NAME


@contextmanager
Expand Down

0 comments on commit 3251470

Please sign in to comment.