Skip to content

Commit

Permalink
Upload artifact for investigation
Browse files Browse the repository at this point in the history
  • Loading branch information
graphemecluster committed Dec 1, 2024
1 parent 2014519 commit 9615c1c
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ name: Build packages

on:
push:
branches:
- main
paths:
- '*.yaml' # root directory only
- '*.txt'
- 'opencc/**'

jobs:
mac_linux:
Expand Down Expand Up @@ -36,11 +30,10 @@ jobs:
# Copy default.custom.yaml and ibus-install.sh into output queue
cat .ci/ibus-install-template.sh | envsubst '${IBUS_PACKAGES}' > ./output/ibus-install.sh
cp .ci/default.custom.yaml output/
- uses: softprops/action-gh-release@v2
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
files: output/*
if: startsWith(github.ref, 'refs/tags/')
- run: ls output
path: output/*

windows:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -75,8 +68,7 @@ jobs:
# Packing installer files into a separate zip
7z a output/windows-${GITHUB_REF_NAME}-installer.zip ./build/windows/*
- uses: softprops/action-gh-release@v2
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
files: output/*
if: startsWith(github.ref, 'refs/tags/')
- run: ls output
path: output/*

0 comments on commit 9615c1c

Please sign in to comment.