diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index 4f70964..9b77bf6 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -4,8 +4,8 @@ on: tags-ignore: - '*.*' branches: - # - main - - feat/s3 # replace to main + - main + - develop jobs: build_go_binary_and_release: @@ -42,7 +42,7 @@ jobs: LAST_TAG_CONTAINS_RC=true fi - if [[ "${{ github.ref }}" == "refs/heads/feat/s3s" ]]; then + if [[ "${{ github.ref }}" == "refs/heads/develop" ]]; then IS_PRE_RELEASE=true if [[ $LAST_TAG_CONTAINS_RC == true ]]; then @@ -72,10 +72,10 @@ jobs: id: create_release uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ steps.vars.outputs.next-version }} release_name: ${{ steps.vars.outputs.next-version }} body: '' draft: false - prerelease: ${{ steps.vars.outputs.is-pre-release }} \ No newline at end of file + prerelease: ${{ steps.vars.outputs.is-pre-release }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6ea6cc1..361fe31 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,9 +4,7 @@ on: tags-ignore: - '*.*' branches: - # - main - - feat/setup # replace to main - + - '**' jobs: test_on_machine: