0
0
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:
Maxim Slipenko 2024-02-02 15:09:36 +03:00
parent cd5016dc01
commit 6c03be28e7

View File

@ -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