Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
donknap authored Aug 10, 2024
1 parent fdf593e commit 406cc77
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,35 @@ jobs:
with:
tag_name: ${{ github.ref_name }}
files: runtime/*
prerelease: false
prerelease: false
windows-build:
strategy:
matrix:
platform: [ 'windows-latest' ]
go-version: [ '1.22' ]
runs-on: ${{ matrix.platform }}
steps:
- name: Test Env
run: |
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
echo "Tag name from github.ref_name: ${{ github.ref_name }}"
echo "Tag name from github.ref: ${{ github.ref }}"
echo "Runs name: ${{runner.os}}"
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: |
go get .
- name: Build
run: |
set CGO_ENABLED=1
go build -o runtime/dpanel.exe
- name: upload artifact
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref_name }}
files: runtime/*
prerelease: false

0 comments on commit 406cc77

Please sign in to comment.