From c20c879ee4ecfbe61578b4e99fc8501ecb0e27d7 Mon Sep 17 00:00:00 2001 From: Samuel Date: Mon, 3 Feb 2025 21:00:49 +0100 Subject: [PATCH] ci: bump GEWIS actions to v1 --- .github/workflows/build.yaml | 3 +-- .github/workflows/semantic-release.yaml | 13 +++++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0fba143..4fcc98f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -49,10 +49,9 @@ jobs: build-and-lint: needs: generate-client-files - uses: GEWIS/actions/.github/workflows/typescript-lint-and-build.yml@v0.0.2 + uses: GEWIS/actions/.github/workflows/lint-and-build-yarn.yml@v1 with: node-version: "22.x" - package-manager: "yarn" artifact-name: "api-client" artifact-path: "src/api" lint: true diff --git a/.github/workflows/semantic-release.yaml b/.github/workflows/semantic-release.yaml index 4a8ba2d..cbf38bc 100644 --- a/.github/workflows/semantic-release.yaml +++ b/.github/workflows/semantic-release.yaml @@ -9,12 +9,17 @@ on: - main jobs: - semantic-release: - uses: GEWIS/actions/.github/workflows/semantic-release.yml@v0.0.2 + versioning: + uses: GEWIS/actions/.github/workflows/typescript-lint-and-build.yml@v1 + + release: + uses: GEWIS/actions/.github/workflows/docker-release.yml@v1 with: projects: '["."]' - docker_registry: "abc.docker-registry.gewis.nl" - docker_paths: "['nc/aurora/client']" + version: ${{ needs.versioning.outputs.next-version }} + docker-registry: "abc.docker-registry.gewis.nl" + docker-paths: "['nc/aurora/client']" + github-registry: "true" secrets: REGISTRY_USERNAME: ${{ secrets.SVC_GH_ABCNC_USERNAME }} REGISTRY_PASSWORD: ${{ secrets.SVC_GH_ABCNC_PWD }}