diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 98baefb..d9e0cd6 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -21,6 +21,16 @@ jobs: with: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} - body_file: Changelog.md + body_path: 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 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