Skip to content

Commit

Permalink
finalize CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
quinneden committed Jan 6, 2025
1 parent 11d6ace commit d19c1fe
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Build installer package
on:
workflow_dispatch:
push:
branches:
- github-action
tags:
- "v?[0-9]+?.[0-9]+.[0-9]+.*"

jobs:
build:
Expand All @@ -30,5 +30,16 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: nixos-asahi-${{ github.ref_name }}
path: result/nixos-asahi-*.zip
name: nixos-asahi-${{ github.ref }}
path: result/nixos-asahi-*.zip
overwrite: true

- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: result/nixos-asahi-*.zip

- name: Upload to CDN
if: startsWith(github.ref, 'refs/tags/')
run: nix run .#upload
26 changes: 0 additions & 26 deletions .github/workflows/release.yaml

This file was deleted.

0 comments on commit d19c1fe

Please sign in to comment.