mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
dev: automatically create release on tag push
This commit is contained in:
parent
23ab0e86e8
commit
23abed8ad6
24
.github/workflows/build-packages.yaml
vendored
24
.github/workflows/build-packages.yaml
vendored
@ -84,7 +84,7 @@ jobs:
|
||||
name: ${{ matrix.target-os }}
|
||||
path: release-artifacts/*
|
||||
|
||||
create-release:
|
||||
create-test-release:
|
||||
needs: build-packages
|
||||
runs-on: ubuntu-latest
|
||||
if: (github.event_name == 'push' && github.ref == 'refs/heads/master')
|
||||
@ -116,3 +116,25 @@ jobs:
|
||||
git push -f origin test-build
|
||||
shell: bash
|
||||
|
||||
|
||||
create-stable-release:
|
||||
needs: build-packages
|
||||
runs-on: ubuntu-latest
|
||||
if: (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/'))
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
path: downloaded-artifacts/
|
||||
|
||||
- name: Create release
|
||||
uses: ncipollo/release-action@v1.12.0
|
||||
with:
|
||||
artifacts: "downloaded-artifacts/*/*"
|
||||
name: ${{ github.ref_name }}
|
||||
tag: ${{ github.ref_name }}
|
||||
body: ${{ github.ref_name }} changelog goes here
|
||||
|
Loading…
Reference in New Issue
Block a user