Substitute variables in r.rpath
and r.rterm
settings (#1444)
#339
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: pre-release | |
# creates/updates a pre-release with the .vsix | |
on: | |
push: | |
branches: ["master"] | |
env: | |
FILE_OUT: r-latest.vsix | |
SCRIPT_DIR: ./.github/scripts | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: node $SCRIPT_DIR/enableWebpack.js | |
- run: yarn install | |
- uses: lannonbr/vsce-action@master | |
with: | |
args: "package -o $FILE_OUT" | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: "${{ env.FILE_OUT }}" | |
path: "${{ env.FILE_OUT }}" | |
pre-release: | |
name: Pre-Release | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Update tag | |
uses: richardsimko/update-tag@v1 | |
with: | |
tag_name: latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Download artifacts | |
uses: actions/download-artifact@v3 | |
with: | |
path: "artifacts/" | |
- name: Upload artifacts | |
uses: meeDamian/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
tag: latest | |
commitish: master | |
name: Development Build | |
body: Contains the vsix-file from the latest push to master. | |
prerelease: true | |
files: "artifacts/*/*" | |
gzip: false | |
allow_override: true |