Skip to content

Merge pull request #2784 from terrestris/wfs-save-date-fix #191

Merge pull request #2784 from terrestris/wfs-save-date-fix

Merge pull request #2784 from terrestris/wfs-save-date-fix #191

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- next
jobs:
release-npm:
name: Release
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
issues: write
pull-requests: write
outputs:
new_release_published: ${{ steps.semantic.outputs.new_release_published }}
new_release_version: ${{ steps.semantic.outputs.new_release_version }}
steps:
- name: Checkout 🔰
uses: actions/checkout@v6
- name: Setup Node.js 🧮
uses: actions/setup-node@v6
with:
node-version: 24
- name: Cache Node.js modules 💾
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: Install dependencies ⏬
run: npm ci
- name: Build (dist) artifacts 🏗️
run: npm run build:dist
- name: Semantic Release 🚀
uses: cycjimmy/semantic-release-action@v6
id: semantic
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
extra_plugins: |
@semantic-release/changelog
@semantic-release/git
release-docker:
needs: release-npm
uses: ./.github/workflows/release_docker.yml

Check warning on line 56 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Workflow syntax warning

In .github/workflows/release.yml (Line: 56, Col: 11): Error from called workflow terrestris/shogun-gis-client/.github/workflows/release_docker.yml@74e9eaffbc570976f338b21f6d70fbd6ccfcddd1 (Line: 50, Col: 13): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?

Check warning on line 56 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Workflow syntax warning

In .github/workflows/release.yml (Line: 56, Col: 11): Error from called workflow terrestris/shogun-gis-client/.github/workflows/release_docker.yml@74e9eaffbc570976f338b21f6d70fbd6ccfcddd1 (Line: 66, Col: 13): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?

Check warning on line 56 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Workflow syntax warning

In .github/workflows/release.yml (Line: 56, Col: 11): Error from called workflow terrestris/shogun-gis-client/.github/workflows/release_docker.yml@74e9eaffbc570976f338b21f6d70fbd6ccfcddd1 (Line: 80, Col: 13): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?

Check warning on line 56 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Workflow syntax warning

In .github/workflows/release.yml (Line: 56, Col: 11): Error from called workflow terrestris/shogun-gis-client/.github/workflows/release_docker.yml@74e9eaffbc570976f338b21f6d70fbd6ccfcddd1 (Line: 94, Col: 13): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?
with:
release_is_published: ${{ needs.release-npm.outputs.new_release_published }}
release_version: ${{ needs.release-npm.outputs.new_release_version }}
secrets:
nexus_user: ${{ secrets.NEXUS_USERNAME }}
nexus_pass: ${{ secrets.NEXUS_PASSWORD }}