1
0
mirror of https://github.com/bitwarden/server synced 2026-01-08 11:33:26 +00:00

Pin versions of actions in workflow (#1337)

This commit is contained in:
Vince Grassia
2021-05-17 15:15:01 -04:00
committed by GitHub
parent 7439dd4fb1
commit b806b64c10
4 changed files with 60 additions and 63 deletions

View File

@@ -16,7 +16,7 @@ jobs:
tag_version: ${{ steps.create_tags.outputs.tag_version }}
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Create Release Vars
id: create_tags
@@ -43,7 +43,7 @@ jobs:
- name: Create Draft Release
id: create_release
uses: actions/create-release@v1
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
@@ -63,9 +63,8 @@ jobs:
run: |
whoami
docker --version
Write-Output "GitHub ref: $env:GITHUB_REF"
Write-Output "GitHub event: $env:GITHUB_EVENT"
shell: pwsh
echo "GitHub ref: $GITHUB_REF"
echo "GitHub event: $GITHUB_EVENT"
env:
GITHUB_REF: ${{ github.ref }}
GITHUB_EVENT: ${{ github.event_name }}
@@ -102,7 +101,7 @@ jobs:
DCT_DELEGATE_KEY: ${{ steps.retrieve-secrets.outputs.dct-delegate-2-key }}
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Restore
run: dotnet tool restore
@@ -182,7 +181,7 @@ jobs:
cd docker-stub; zip -r ../docker-stub.zip *; cd ..
- name: Upload docker stub artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
with:
name: docker-stub.zip
path: ./docker-stub.zip
@@ -206,7 +205,7 @@ jobs:
swaggerGen: 'True'
- name: Upload swagger artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
with:
name: swagger.json
path: ./swagger.json