Skip to content

Commit 46bee4d

Browse files
authored
Create copilot-setup-steps.yml
1 parent da2e218 commit 46bee4d

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: "OneScript Development Environment Setup"
2+
3+
# Allow testing of the setup steps from your repository's "Actions" tab.
4+
on: workflow_dispatch
5+
6+
jobs:
7+
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
8+
copilot-setup-steps:
9+
runs-on: ubuntu-latest
10+
11+
# Set the permissions to the lowest permissions possible needed for your steps.
12+
# Copilot will be given its own token for its operations.
13+
permissions:
14+
# Clone the repository to install dependencies
15+
contents: read
16+
17+
# Setup steps for OneScript development environment
18+
steps:
19+
- name: Checkout code
20+
uses: actions/checkout@v4
21+
22+
- run: git config --global core.quotepath false
23+
24+
- uses: actions/setup-dotnet@v4
25+
with:
26+
dotnet-version: '6.0.x'
27+
28+
- name: Установка OneScript
29+
uses: otymko/setup-onescript@v1.5
30+
with:
31+
version: stable
32+
33+
- name: Установка зависимостей
34+
run: |
35+
opm install opm
36+
opm update --all
37+

0 commit comments

Comments
 (0)