Skip to content

Commit

Permalink
Release 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 4, 2022
1 parent a33f7f1 commit b4aec75
Show file tree
Hide file tree
Showing 12 changed files with 868 additions and 351 deletions.
18 changes: 18 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 20
commit-message:
prefix: "build"

- package-ecosystem: npm
directory: '/'
schedule:
interval: daily
time: '00:00'
open-pull-requests-limit: 20
commit-message:
prefix: build
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: '12.x'

- run: npm ci

- run: npm run build

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: build-results
path: .
Expand All @@ -38,16 +38,16 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-2016, windows-2019, windows-2022]
os: [windows-2019, windows-2022]
arch: [x64, x32, x86_arm, x86_arm64]
steps:
- name: Checkout
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: build-results
path: .

- name: setup-mvsc-dev
- name: setup-msvc-dev
uses: ./
with:
arch: ${{ matrix.arch }}
Expand All @@ -65,15 +65,15 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-2016, windows-2019, windows-2022]
os: [windows-2019, windows-2022]
steps:
- name: Checkout
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: build-results
path: .

- name: setup-mvsc-dev
- name: setup-msvc-dev
uses: ./
with:
export-path-to-vcvarsall: PATH_TO_VCVARSALL
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: '12.x'

Expand All @@ -23,14 +23,15 @@ jobs:
echo RELEASE_VERSION=$VERSION >> $GITHUB_ENV
echo "RELEASE_VERSION_MAJOR=v${VERSION%%.*}" >> $GITHUB_ENV
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ env.RELEASE_VERSION_MAJOR }}
path: 'release'
id: checkoutrelease
continue-on-error: true

- uses: actions/checkout@v2
- uses: actions/checkout@v3
if: steps.checkoutrelease.outcome != 'success'
with:
path: 'release'
Expand All @@ -39,12 +40,12 @@ jobs:
run: |
pushd .
cd release
git restore --source=master -SW .
git restore --source=origin/master -SW .
cp -a ../dist/. dist
git add -f dist/**
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git commit -m "Release $RELEASE_VERSION"
git tag v$RELEASE_VERSION
git push -u origin master:$RELEASE_VERSION_MAJOR --tags
git push -u origin HEAD:$RELEASE_VERSION_MAJOR --tags
popd
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# setup-mvsc-dev
# setup-msvc-dev

[![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)

Expand All @@ -15,7 +15,7 @@ additional use-cases and to experiment further with GitHub Actions.
```yaml
steps:
- uses: actions/checkout@v1
- uses: TheMrMilchmann/setup-mvsc-dev@v1
- uses: TheMrMilchmann/setup-msvc-dev@v1
with:
arch: x64
```
Expand Down
Loading

0 comments on commit b4aec75

Please sign in to comment.