Skip to content

(feat): track work network instead of home network #25

(feat): track work network instead of home network

(feat): track work network instead of home network #25

Workflow file for this run

name: build, package & release
on:
push:
tags:
- '*.*.*'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: publish app
working-directory: src/wfh-log-wpf
run: |
dotnet publish -p:PublishProfile=FolderProfile -p:Version=${{ github.ref_name }}
- uses: actions/create-release@v1
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: true
prerelease: false
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./src/wfh-log-wpf/bin/Release/net6.0-windows/publish/win-x64/wfh-log.exe
asset_name: wfh-log.exe
asset_content_type: application/octet-stream