add publishing action

This commit is contained in:
Hannes Kuchelmeister
2022-02-22 16:27:24 +01:00
committed by GitHub
parent e2a010f58b
commit 267be7d237

View File

@@ -1,4 +1,4 @@
name: Rust name: Build and publish
on: on:
push: push:
@@ -37,8 +37,13 @@ jobs:
publish: publish:
needs: [build, build-windows] needs: [build, build-windows]
runs-on: ubuntu-latest runs-on: ubuntu-latest
# if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
steps: steps:
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v2
- name: Display structure of downloaded files - uses: "marvinpinto/action-automatic-releases@v1.2.1"
run: ls with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
*.AppImage
*.zip