diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 157801a..0b2f9ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,8 +2,8 @@ name: Release on: push: - tags: - - '*' + tags: ["*"] + branches: ["main"] env: VERSION: ${{ github.ref_name }} diff --git a/action.yml b/action.yml index 2a11a0c..5fdfc56 100644 --- a/action.yml +++ b/action.yml @@ -48,7 +48,7 @@ outputs: runs: using: 'docker' - image: 'docker://ghcr.io/up-mods/action-discord-release:v0' + image: 'docker://ghcr.io/up-mods/action-discord-release:main' args: - "--modrinth-project-id=${{ inputs.modrinth-project-id }}" - "--curseforge-project-id=${{ inputs.modrinth-project-id }}"