Skip to content

Commit

Permalink
update main refresh workflow to use composite action
Browse files Browse the repository at this point in the history
  • Loading branch information
kasey committed Jan 8, 2025
1 parent 7f5cc94 commit 5625617
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 19 deletions.
2 changes: 0 additions & 2 deletions .github/actions/build-unclog/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ outputs:
runs:
using: "composite"
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/changelog.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/main-artifact-refresh.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: main-artifact-refresh
description: "ensures there is always an unclog artifact available, building monthly (less than 90 day retention period) or when PRs merge to main"

on:
pull_request:
types:
- closed
schedule:
- cron: "0 0 1 * *" # run first day of month

jobs:
refresh-unclog-binary:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4

- name: build-unclog
uses: ./.github/actions/build-unclog
with:
artifact-name: unclog # This is the 'release' artifact name

0 comments on commit 5625617

Please sign in to comment.