Pin versions of actions in workflow (#1852)

This commit is contained in:
Vince Grassia 2021-05-17 16:09:59 -04:00 committed by GitHub
parent a2b71e4929
commit b5eda81d72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 23 deletions

View File

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v2 uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Set up cloc - name: Set up cloc
run: | run: |
@ -30,7 +30,7 @@ jobs:
adj_build_number: ${{ steps.gen_vars.outputs.adj_build_number }} adj_build_number: ${{ steps.gen_vars.outputs.adj_build_number }}
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v2 uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Get Package Version - name: Get Package Version
id: gen_vars id: gen_vars
@ -46,7 +46,7 @@ jobs:
needs: setup needs: setup
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v2 uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Testing locales - extName length - name: Testing locales - extName length
run: | run: |
@ -80,12 +80,12 @@ jobs:
BUILD_NUMBER: ${{ needs.setup.outputs.adj_build_number }} BUILD_NUMBER: ${{ needs.setup.outputs.adj_build_number }}
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v2 uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Set up Node - name: Set up Node
uses: actions/setup-node@v1 uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea
with: with:
node-version: '14.x' node-version: '14'
- name: Print environment - name: Print environment
run: | run: |
@ -102,31 +102,31 @@ jobs:
run: gulp ci run: gulp ci
- name: Upload opera artifact - name: Upload opera artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
with: with:
name: dist-opera-${{ env.BUILD_NUMBER }}.zip name: dist-opera-${{ env.BUILD_NUMBER }}.zip
path: dist/dist-opera-${{ env.BUILD_NUMBER }}.zip path: dist/dist-opera-${{ env.BUILD_NUMBER }}.zip
- name: Upload chrome artifact - name: Upload chrome artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
with: with:
name: dist-chrome-${{ env.BUILD_NUMBER }}.zip name: dist-chrome-${{ env.BUILD_NUMBER }}.zip
path: dist/dist-chrome-${{ env.BUILD_NUMBER }}.zip path: dist/dist-chrome-${{ env.BUILD_NUMBER }}.zip
- name: Upload firefox artifact - name: Upload firefox artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
with: with:
name: dist-firefox-${{ env.BUILD_NUMBER }}.zip name: dist-firefox-${{ env.BUILD_NUMBER }}.zip
path: dist/dist-firefox-${{ env.BUILD_NUMBER }}.zip path: dist/dist-firefox-${{ env.BUILD_NUMBER }}.zip
- name: Upload edge artifact - name: Upload edge artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
with: with:
name: dist-edge-${{ env.BUILD_NUMBER }}.zip name: dist-edge-${{ env.BUILD_NUMBER }}.zip
path: dist/dist-edge-${{ env.BUILD_NUMBER }}.zip path: dist/dist-edge-${{ env.BUILD_NUMBER }}.zip
- name: Upload coverage artifact - name: Upload coverage artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
with: with:
name: coverage-${{ env.BUILD_NUMBER }}.zip name: coverage-${{ env.BUILD_NUMBER }}.zip
path: coverage/coverage-${{ env.BUILD_NUMBER }}.zip path: coverage/coverage-${{ env.BUILD_NUMBER }}.zip

View File

@ -18,7 +18,7 @@ jobs:
adj_build_number: ${{ steps.gen_vars.outputs.adj_build_number }} adj_build_number: ${{ steps.gen_vars.outputs.adj_build_number }}
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v2 uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Get Package Version - name: Get Package Version
id: gen_vars id: gen_vars
@ -54,7 +54,7 @@ jobs:
- name: Create Draft Release - name: Create Draft Release
id: create_release id: create_release
uses: actions/create-release@v1 uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
@ -69,7 +69,7 @@ jobs:
needs: setup needs: setup
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v2 uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Testing locales - extName length - name: Testing locales - extName length
run: | run: |
@ -103,12 +103,12 @@ jobs:
BUILD_NUMBER: ${{ needs.setup.outputs.adj_build_number }} BUILD_NUMBER: ${{ needs.setup.outputs.adj_build_number }}
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v2 uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Set up Node - name: Set up Node
uses: actions/setup-node@v1 uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea
with: with:
node-version: '14.x' node-version: '14'
- name: Print environment - name: Print environment
run: | run: |
@ -137,7 +137,7 @@ jobs:
call 7z a browser-source-%BUILD_NUMBER%.zip "Source\*" call 7z a browser-source-%BUILD_NUMBER%.zip "Source\*"
- name: upload opera release asset - name: upload opera release asset
uses: actions/upload-release-asset@v1 uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
@ -147,7 +147,7 @@ jobs:
asset_content_type: application asset_content_type: application
- name: upload chrome release asset - name: upload chrome release asset
uses: actions/upload-release-asset@v1 uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
@ -157,7 +157,7 @@ jobs:
asset_content_type: application/zip asset_content_type: application/zip
- name: upload firefox release asset - name: upload firefox release asset
uses: actions/upload-release-asset@v1 uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
@ -167,7 +167,7 @@ jobs:
asset_content_type: application/zip asset_content_type: application/zip
- name: upload edge release asset - name: upload edge release asset
uses: actions/upload-release-asset@v1 uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
@ -177,7 +177,7 @@ jobs:
asset_content_type: application/zip asset_content_type: application/zip
- name: upload browser source zip release asset - name: upload browser source zip release asset
uses: actions/upload-release-asset@v1 uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
@ -187,7 +187,7 @@ jobs:
asset_content_type: application/zip asset_content_type: application/zip
- name: upload coverage release asset - name: upload coverage release asset
uses: actions/upload-release-asset@v1 uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with: