From af4d25cbe6fcdc63bcea38cedded4e8eb711a5ec Mon Sep 17 00:00:00 2001 From: Agus Makmun Date: Sat, 9 Mar 2024 21:10:55 +0700 Subject: [PATCH] fix: change semantic release with docker --- .github/workflows/release.yml | 29 +++++++------------ martor/static/martor/css/martor-admin.min.css | 2 +- .../martor/css/martor.bootstrap.min.css | 2 +- .../static/martor/css/martor.semantic.min.css | 2 +- martor/static/martor/js/martor.bootstrap.js | 2 +- .../static/martor/js/martor.bootstrap.min.js | 2 +- martor/static/martor/js/martor.semantic.js | 2 +- .../static/martor/js/martor.semantic.min.js | 2 +- 8 files changed, 18 insertions(+), 25 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 325dce84..dc6a2c98 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,26 +7,19 @@ on: jobs: release: - permissions: - contents: write # to be able to publish a GitHub release - issues: write # to be able to comment on released issues - pull-requests: write # to be able to comment on released pull requests - id-token: write # to enable use of OIDC for npm provenance - name: release runs-on: ubuntu-latest + steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 - with: - cache: npm - node-version: lts/* - - run: npm clean-install - - run: npm audit signatures - # pinned version updated automatically by Renovate. - # details at https://semantic-release.gitbook.io/semantic-release/usage/installation#global-installation - - run: npx semantic-release@21.0.2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Checkout code + uses: actions/checkout@v2 + + - name: Run Semantic Release with Docker + run: | + docker run \ + -e GITHUB_TOKEN=${{ secrets.GH_TOKEN }} \ + -v $(pwd):/app \ + -w /app \ + ghcr.io/semantic-release/semantic-release:latest upload-to-pypi: needs: release diff --git a/martor/static/martor/css/martor-admin.min.css b/martor/static/martor/css/martor-admin.min.css index b43c813d..e824b854 100644 --- a/martor/static/martor/css/martor-admin.min.css +++ b/martor/static/martor/css/martor-admin.min.css @@ -1,5 +1,5 @@ /** - * Name : Martor v1.6.31 + * Name : Martor v1.6.32 * Created by : Agus Makmun (Summon Agus) * Release date : 09-Mar-2024 * License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 diff --git a/martor/static/martor/css/martor.bootstrap.min.css b/martor/static/martor/css/martor.bootstrap.min.css index e41e74c2..cd75a0d3 100644 --- a/martor/static/martor/css/martor.bootstrap.min.css +++ b/martor/static/martor/css/martor.bootstrap.min.css @@ -1,5 +1,5 @@ /** - * Name : Martor v1.6.31 + * Name : Martor v1.6.32 * Created by : Agus Makmun (Summon Agus) * Release date : 09-Mar-2024 * License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 diff --git a/martor/static/martor/css/martor.semantic.min.css b/martor/static/martor/css/martor.semantic.min.css index 6ee8d46d..7a20180f 100644 --- a/martor/static/martor/css/martor.semantic.min.css +++ b/martor/static/martor/css/martor.semantic.min.css @@ -1,5 +1,5 @@ /** - * Name : Martor v1.6.31 + * Name : Martor v1.6.32 * Created by : Agus Makmun (Summon Agus) * Release date : 09-Mar-2024 * License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 diff --git a/martor/static/martor/js/martor.bootstrap.js b/martor/static/martor/js/martor.bootstrap.js index 12448a35..96cd0a62 100644 --- a/martor/static/martor/js/martor.bootstrap.js +++ b/martor/static/martor/js/martor.bootstrap.js @@ -1,5 +1,5 @@ /** - * Name : Martor v1.6.31 + * Name : Martor v1.6.32 * Created by : Agus Makmun (Summon Agus) * Release date : 09-Mar-2024 * License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 diff --git a/martor/static/martor/js/martor.bootstrap.min.js b/martor/static/martor/js/martor.bootstrap.min.js index d81225b1..abd9b21c 100644 --- a/martor/static/martor/js/martor.bootstrap.min.js +++ b/martor/static/martor/js/martor.bootstrap.min.js @@ -1,5 +1,5 @@ /** - * Name : Martor v1.6.31 + * Name : Martor v1.6.32 * Created by : Agus Makmun (Summon Agus) * Release date : 09-Mar-2024 * License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 diff --git a/martor/static/martor/js/martor.semantic.js b/martor/static/martor/js/martor.semantic.js index aebcb33e..1469349f 100644 --- a/martor/static/martor/js/martor.semantic.js +++ b/martor/static/martor/js/martor.semantic.js @@ -1,5 +1,5 @@ /** - * Name : Martor v1.6.31 + * Name : Martor v1.6.32 * Created by : Agus Makmun (Summon Agus) * Release date : 09-Mar-2024 * License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 diff --git a/martor/static/martor/js/martor.semantic.min.js b/martor/static/martor/js/martor.semantic.min.js index ef052d8d..5c68384c 100644 --- a/martor/static/martor/js/martor.semantic.min.js +++ b/martor/static/martor/js/martor.semantic.min.js @@ -1,5 +1,5 @@ /** - * Name : Martor v1.6.31 + * Name : Martor v1.6.32 * Created by : Agus Makmun (Summon Agus) * Release date : 09-Mar-2024 * License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007