mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2025-04-17 14:23:44 +03:00
add upload-release
This commit is contained in:
parent
cd5016dc01
commit
6c03be28e7
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
@ -55,4 +55,29 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: ./result/*
|
||||
name: nix-package
|
||||
name: nix-
|
||||
|
||||
upload-release:
|
||||
if: github.ref == 'refs/heads/master'
|
||||
needs: [build, nix-build]
|
||||
steps:
|
||||
- name: Download artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
merge-multiple: true
|
||||
path: dist
|
||||
|
||||
- id: data
|
||||
uses: pozetroninc/github-action-get-latest-release@v0.7.0
|
||||
with:
|
||||
repository: ${{ github.event.repository.name }}
|
||||
|
||||
- name: Upload files to a GitHub release
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
file: dist/*
|
||||
tag: ${{ github.ref }}
|
||||
overwrite: true
|
||||
file_glob: true
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user