Skip to content

Commit 0edf192

Browse files
committed
ci(github): debugging semantic-release
1 parent ba711e0 commit 0edf192

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

.github/actions/dockerhub-login/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ runs:
44
steps:
55
- name: docker login
66
run: |
7-
docker login -u "$DOCKERHUB_USERNAME" --password-stdin <<< "$DOCKERHUB_PASSWORD"
7+
docker login -u "$DOCKERHUB_USERNAME" --password-stdin <<< "$DOCKERHUB_PASSWORD" || echo "::warning::docker-login failed, ignoring"
88
shell: bash
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: setup semantic-release with plugins
2+
runs:
3+
- uses: actions/setup_node@v5
4+
id: setup_node
5+
- uses: actions/cache@v4
6+
with:
7+
path: ~/.npm
8+
key: ${{ runner.os }}-npm-${{ steps.setup_node.node-version }}
9+
- shell: bash
10+
run: |
11+
- npm i -g
12+
semantic-release
13+
@semantic-release/exec
14+
@semantic-release/git
15+
@semantic-release/changelog
16+
@google/semantic-release-replace-plugin

.github/workflows/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
- name: Test
4444
run: tox
4545
smoketest:
46+
if: false
4647
runs-on: ubuntu-latest
4748
#needs: [ 'lint','test' ]
4849
steps:
@@ -60,3 +61,11 @@ jobs:
6061
- run: ci/run_tests.sh
6162
env:
6263
SMOKETEST_DOCKER_IMAGE: python:${{ steps.setup.outputs.python-version }}
64+
release:
65+
#if: github.ref == 'refs/heads/master'
66+
#needs: ['smoketest','lint','test']
67+
runs-on: ubuntu-latest
68+
steps:
69+
- uses: actions/checkout@v5
70+
- uses: ./.github/actions/setup-semantic-release
71+
- run: semantic-release

0 commit comments

Comments
 (0)