Skip to content

Commit b4aec75

Browse files
Release 1.0.1
1 parent a33f7f1 commit b4aec75

File tree

12 files changed

+868
-351
lines changed

12 files changed

+868
-351
lines changed

.github/dependabot.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
open-pull-requests-limit: 20
8+
commit-message:
9+
prefix: "build"
10+
11+
- package-ecosystem: npm
12+
directory: '/'
13+
schedule:
14+
interval: daily
15+
time: '00:00'
16+
open-pull-requests-limit: 20
17+
commit-message:
18+
prefix: build

.github/workflows/ci.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ jobs:
1616
build:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v3
2020

21-
- uses: actions/setup-node@v2
21+
- uses: actions/setup-node@v3
2222
with:
2323
node-version: '12.x'
2424

2525
- run: npm ci
2626

2727
- run: npm run build
2828

29-
- uses: actions/upload-artifact@v2
29+
- uses: actions/upload-artifact@v3
3030
with:
3131
name: build-results
3232
path: .
@@ -38,16 +38,16 @@ jobs:
3838
strategy:
3939
fail-fast: false
4040
matrix:
41-
os: [windows-2016, windows-2019, windows-2022]
41+
os: [windows-2019, windows-2022]
4242
arch: [x64, x32, x86_arm, x86_arm64]
4343
steps:
4444
- name: Checkout
45-
uses: actions/download-artifact@v2
45+
uses: actions/download-artifact@v3
4646
with:
4747
name: build-results
4848
path: .
4949

50-
- name: setup-mvsc-dev
50+
- name: setup-msvc-dev
5151
uses: ./
5252
with:
5353
arch: ${{ matrix.arch }}
@@ -65,15 +65,15 @@ jobs:
6565
strategy:
6666
fail-fast: false
6767
matrix:
68-
os: [windows-2016, windows-2019, windows-2022]
68+
os: [windows-2019, windows-2022]
6969
steps:
7070
- name: Checkout
71-
uses: actions/download-artifact@v2
71+
uses: actions/download-artifact@v3
7272
with:
7373
name: build-results
7474
path: .
7575

76-
- name: setup-mvsc-dev
76+
- name: setup-msvc-dev
7777
uses: ./
7878
with:
7979
export-path-to-vcvarsall: PATH_TO_VCVARSALL

.github/workflows/release.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ jobs:
55
release:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
8+
- uses: actions/checkout@v3
99

10-
- uses: actions/setup-node@v2
10+
- uses: actions/setup-node@v3
1111
with:
1212
node-version: '12.x'
1313

@@ -23,14 +23,15 @@ jobs:
2323
echo RELEASE_VERSION=$VERSION >> $GITHUB_ENV
2424
echo "RELEASE_VERSION_MAJOR=v${VERSION%%.*}" >> $GITHUB_ENV
2525
26-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v3
2727
with:
28+
fetch-depth: 0
2829
ref: ${{ env.RELEASE_VERSION_MAJOR }}
2930
path: 'release'
3031
id: checkoutrelease
3132
continue-on-error: true
3233

33-
- uses: actions/checkout@v2
34+
- uses: actions/checkout@v3
3435
if: steps.checkoutrelease.outcome != 'success'
3536
with:
3637
path: 'release'
@@ -39,12 +40,12 @@ jobs:
3940
run: |
4041
pushd .
4142
cd release
42-
git restore --source=master -SW .
43+
git restore --source=origin/master -SW .
4344
cp -a ../dist/. dist
4445
git add -f dist/**
4546
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
4647
git config user.name "github-actions[bot]"
4748
git commit -m "Release $RELEASE_VERSION"
4849
git tag v$RELEASE_VERSION
49-
git push -u origin master:$RELEASE_VERSION_MAJOR --tags
50+
git push -u origin HEAD:$RELEASE_VERSION_MAJOR --tags
5051
popd

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# setup-mvsc-dev
1+
# setup-msvc-dev
22

33
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat-square&label=License)](https://github.com/TheMrMilchmann/setup-msvc-dev/blob/master/LICENSE)
44

@@ -15,7 +15,7 @@ additional use-cases and to experiment further with GitHub Actions.
1515
```yaml
1616
steps:
1717
- uses: actions/checkout@v1
18-
- uses: TheMrMilchmann/setup-mvsc-dev@v1
18+
- uses: TheMrMilchmann/setup-msvc-dev@v1
1919
with:
2020
arch: x64
2121
```

0 commit comments

Comments
 (0)