Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
kolayne committed Jul 19, 2024
1 parent 51f693a commit 7d137f8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.gover }}
- uses: actions/checkout@v4
- name: Build the project
run: go build .
- name: Save built binary
if: startsWith(github.ref, 'refs/tags/') && matrix.os == env.RELEASE_OS && matrix.gover == env.RELEASE_GOVER
uses: actions/upload-artifact@v4
with:
name: docker-on-top
name: artifact
path: ./docker-on-top
if-no-files-found: error
retention-days: 1
Expand All @@ -39,6 +39,9 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')

runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/checkout@v4
Expand All @@ -51,12 +54,13 @@ jobs:
- name: Restore built binary
uses: actions/download-artifact@v4
with:
name: docker-on-top
path: ./docker-on-top
name: artifact
path: ./
- name: Release new version
uses: softprops/action-gh-release@v2
with:
body_path: ./this-changelog.md
fail_on_unmatched_files: true
files: |
./docker-on-top
./docker-on-top.service

0 comments on commit 7d137f8

Please sign in to comment.