From 4e6e36e8627515d80dd537e5c8d06d317a6a20f7 Mon Sep 17 00:00:00 2001 From: charliemaiors Date: Mon, 26 Jun 2023 12:48:50 +0200 Subject: [PATCH 1/2] test release --- .github/workflows/create-release.yml | 12 +++++++++++- .github/workflows/tag-create-release.yml | 13 ++----------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 98baefb..a255d5b 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -23,4 +23,14 @@ jobs: release_name: Release ${{ github.ref }} body_file: Changelog.md draft: false - prerelease: false \ No newline at end of file + prerelease: false + - name: "Upload assets" + uses: wangyoucao577/go-release-action@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: ${{ matrix.goos }} + goarch: ${{ matrix.goarch }} + goversion: "https://dl.google.com/go/go1.20.5.linux-amd64.tar.gz" + project_path: "." + binary_name: "sleep-on-lan" + extra_files: script/win-service-install.ps1 script/win-service-uninstall.ps1 README.md \ No newline at end of file diff --git a/.github/workflows/tag-create-release.yml b/.github/workflows/tag-create-release.yml index 753e22b..8e41103 100644 --- a/.github/workflows/tag-create-release.yml +++ b/.github/workflows/tag-create-release.yml @@ -1,6 +1,6 @@ on: release: - types: [published] + types: [created] name: Upload assets @@ -20,13 +20,4 @@ jobs: goos: windows steps: - name: Checkout code - uses: actions/checkout@v2 - - uses: wangyoucao577/go-release-action@v1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - goos: ${{ matrix.goos }} - goarch: ${{ matrix.goarch }} - goversion: "https://dl.google.com/go/go1.20.5.linux-amd64.tar.gz" - project_path: "." - binary_name: "sleep-on-lan" - extra_files: script/win-service-install.ps1 script/win-service-uninstall.ps1 README.md \ No newline at end of file + uses: actions/checkout@v2 \ No newline at end of file From eb05d27cc93e2c791f8fbf74143fc557d3d0e5d6 Mon Sep 17 00:00:00 2001 From: charliemaiors Date: Mon, 26 Jun 2023 12:50:24 +0200 Subject: [PATCH 2/2] changelog --- .github/workflows/create-release.yml | 2 +- Changelog.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index a255d5b..d9e0cd6 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -21,7 +21,7 @@ jobs: with: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} - body_file: Changelog.md + body_path: Changelog.md draft: false prerelease: false - name: "Upload assets" diff --git a/Changelog.md b/Changelog.md index 88fd28d..f00b538 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,3 @@ -# Release 1.0.12 +# Release 1.0.14 * Actions test \ No newline at end of file