Use master branch for create_release action
- Will always use latest version
This commit is contained in:
6
.github/workflows/CI.yml
vendored
6
.github/workflows/CI.yml
vendored
@@ -160,7 +160,7 @@ jobs:
|
|||||||
path: artifacts/
|
path: artifacts/
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||||
uses: SunshineStream/actions/create_release@v0
|
uses: SunshineStream/actions/create_release@master
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
next_version: ${{ needs.check_changelog.outputs.next_version }}
|
next_version: ${{ needs.check_changelog.outputs.next_version }}
|
||||||
@@ -211,7 +211,7 @@ jobs:
|
|||||||
path: artifacts/
|
path: artifacts/
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
if: ${{ matrix.package == '-p' && github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
if: ${{ matrix.package == '-p' && github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||||
uses: SunshineStream/actions/create_release@v0
|
uses: SunshineStream/actions/create_release@master
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
next_version: ${{ needs.check_changelog.outputs.next_version }}
|
next_version: ${{ needs.check_changelog.outputs.next_version }}
|
||||||
@@ -275,7 +275,7 @@ jobs:
|
|||||||
path: artifacts/
|
path: artifacts/
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||||
uses: SunshineStream/actions/create_release@v0
|
uses: SunshineStream/actions/create_release@master
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
next_version: ${{ needs.check_changelog.outputs.next_version }}
|
next_version: ${{ needs.check_changelog.outputs.next_version }}
|
||||||
|
|||||||
Reference in New Issue
Block a user