chore: restore packages with lock #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Mod To TS | |
on: | |
push: | |
tags: "*" | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
# Use checkout to publish the files in your repo | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: "8.x" | |
cache: true | |
- name: Restore and Build | |
run: | | |
dotnet restore --locked-mode | |
dotnet tool restore | |
dotnet build | |
- name: Publish to TS | |
env: | |
TCLI_AUTH_TOKEN: ${{ secrets.TCLI_AUTH_TOKEN }} | |
PACKAGE_VERSION: ${{ github.ref_name }} | |
run: | | |
dotnet publish -c Release |