Skip to content

Commit

Permalink
release.yml: rename flatpaks
Browse files Browse the repository at this point in the history
  • Loading branch information
v1993 authored Oct 28, 2023
1 parent caf94ce commit 36b36ee
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,17 @@ jobs:
workflow: Flatpak
path: artifacts

- name: List artifacts to be published
- name: Rename flatpaks appropriately
shell: bash
run: |
find artifacts/
mkdir upload
find artifacts -mindepth 1 -type d -exec sh -c 'cp "$0"/nxdumpclient.flatpak upload/$(basename "$0").flatpak' {} \;
echo "Files to upload:"
find upload
- name: Upload artifacts to GitHub release
# TODO: remove, uncomment the job-wide one
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: artifacts/*
files: upload/*

0 comments on commit 36b36ee

Please sign in to comment.