mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-01-23 13:51:08 -05:00
parent
d0ee873a92
commit
73bbec1bc0
29
.github/workflows/latest-release.yml
vendored
Normal file
29
.github/workflows/latest-release.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
name: "Create 'latest' release"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
create_release:
|
||||||
|
name: Create latest release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Delete 'latest' release
|
||||||
|
uses: larryjoelane/delete-release-action@v1.0.24
|
||||||
|
with:
|
||||||
|
release-name: latest
|
||||||
|
token: ${{ secrets.BOTTY_GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Create 'latest' release
|
||||||
|
uses: actions/create-release@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.BOTTY_GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
tag_name: latest
|
||||||
|
release_name: latest
|
||||||
|
draft: false
|
||||||
|
prerelease: true
|
Loading…
Reference in New Issue
Block a user