Skip to content

Commit

Permalink
feat(ci): repurpose opensuse_rpm job to create a manual dist for me
Browse files Browse the repository at this point in the history
  • Loading branch information
BradleyChatha committed Jan 1, 2024
1 parent 80d07d9 commit c05f03d
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,26 @@ jobs:
- uses: ./.github/actions/meson-dist

# The sparse docs around OBS are testing my patience, so I'm just going to
# do the releases manually and hope I don't forget (what a shame that would be).s
# opensuse_rpm:
# do the releases manually and hope I don't forget (what a shame that would be).
opensuse_rpm:
name: Create (Manual) OpenSUSE Package
runs-on: ubuntu-latest
needs: create_dists
steps:
- uses: actions/download-artifact@v2
with:
name: dists
path: dists

- name: Move files around into a new zip
run: |
tar -xzvf dists/devops.tar.gz
mkdir release
mv build/devops/pkg/opensuse-rpm/juptune.spec release/
mv dists/juptune-*.tar.gz release/
tar -czvf opensuse-manual-package.tar.gz release
- uses: softprops/action-gh-release@v1
with:
files: |
opensuse-manual-package.tar.gz

0 comments on commit c05f03d

Please sign in to comment.