From 0e2c0292498d046800d5503123ebcb9fb56545f6 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Wed, 5 Apr 2023 13:26:00 +0900 Subject: [PATCH] Fix docker's CI for tags --- .github/workflows/docker.yml | 2 ++ .github/workflows/release.yml | 36 ----------------------------------- 2 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 70d404bc..3da3af3b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -4,6 +4,8 @@ on: branches: - master - next + tags: + - v* pull_request: jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 4b964d72..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Release - -on: - push: - tags: - - v* - workflow_dispatch: - -jobs: - release: - name: Release a new version - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Set commit environment - run: echo "COMMIT_SHA=$(git rev-list -n 1 ${{github.ref}})" >> $GITHUB_ENV - - name: Wait for builds & tests to finish - uses: lewagon/wait-on-check-action@master - with: - ref: ${{github.ref}} - repo-token: ${{secrets.GITHUB_TOKEN}} - running-workflow-name: release - allowed-conclusions: success,skipped,cancelled,neutral - - name: Download artifacts - uses: dawidd6/action-download-artifact@v2 - with: - commit: ${{env.COMMIT_SHA}} - workflow: native-build.yml - path: ./artifacts - github_token: ${{secrets.GITHUB_TOKEN}} - - name: Create Release - uses: ncipollo/release-action@v1 - with: - generateReleaseNotes: true - artifacts: ./artifacts/**/* - token: ${{secrets.GITHUB_TOKEN}}