commenting out all of the release things that I don't have secrets for

This commit is contained in:
Joseph Flinn 2021-01-15 20:02:21 +00:00
parent 0a68a6a36e
commit f76a247fa4
1 changed files with 29 additions and 29 deletions

View File

@ -47,9 +47,9 @@ jobs:
if: github.event_name == 'release' if: github.event_name == 'release'
run: | run: |
sudo snap install snapcraft --classic sudo snap install snapcraft --classic
echo "$SNAP_TOKEN" | snapcraft login --with - # echo "$SNAP_TOKEN" | snapcraft login --with -
env: #env:
SNAP_TOKEN: ${{ secrets.SNAP_TOKEN }} # SNAP_TOKEN: ${{ secrets.SNAP_TOKEN }}
- name: Print environment - name: Print environment
run: | run: |
@ -109,12 +109,12 @@ jobs:
name: Bitwarden-${{ env.PACKAGE_VERSION }}-x86_64.AppImage name: Bitwarden-${{ env.PACKAGE_VERSION }}-x86_64.AppImage
path: ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x86_64.AppImage path: ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x86_64.AppImage
- name: Deploy to Snap Store #- name: Deploy to Snap Store
if: github.event_name == 'release' # if: github.event_name == 'release'
run: | # run: |
./scripts/snap-update.ps1 -version $env:PACKAGE_VERSION # ./scripts/snap-update.ps1 -version $env:PACKAGE_VERSION
snapcraft logout # snapcraft logout
shell: pwsh # shell: pwsh
windows: windows:
runs-on: windows-latest runs-on: windows-latest
@ -154,14 +154,14 @@ jobs:
dotnet pack --output ./nupkg dotnet pack --output ./nupkg
dotnet tool install --global --ignore-failed-sources --add-source ./nupkg --version $latest_version azuresigntool dotnet tool install --global --ignore-failed-sources --add-source ./nupkg --version $latest_version azuresigntool
- name: Set up environment #- name: Set up environment
if: github.event_name == 'release' # if: false && github.event_name == 'release'
shell: pwsh # shell: pwsh
run: | # run: |
choco install checksum --no-progress # choco install checksum --no-progress
choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/ # choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/
env: # env:
CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }} # CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }}
- name: Print environment - name: Print environment
run: | run: |
@ -254,18 +254,18 @@ jobs:
name: bitwarden.${{ env.PACKAGE_VERSION }}.nupkg name: bitwarden.${{ env.PACKAGE_VERSION }}.nupkg
path: ./dist/chocolatey/bitwarden.${{ env.PACKAGE_VERSION }}.nupkg path: ./dist/chocolatey/bitwarden.${{ env.PACKAGE_VERSION }}.nupkg
- name: Upload release assets #- name: Upload release assets
if: github.event_name == 'release' # if: github.event_name == 'release'
run: | # run: |
hub release edit ` # hub release edit `
-a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-ia32-store.appx ` # -a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-ia32-store.appx `
-a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx ` # -a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx `
-m "$($env:RELEASE_TAG_NAME.TrimStart('v'))" ` # -m "$($env:RELEASE_TAG_NAME.TrimStart('v'))" `
$env:RELEASE_TAG_NAME # $env:RELEASE_TAG_NAME
shell: pwsh # shell: pwsh
env: # env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} # GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
RELEASE_TAG_NAME: ${{ github.event.release.tag_name }} # RELEASE_TAG_NAME: ${{ github.event.release.tag_name }}
macos: macos:
runs-on: macos-latest runs-on: macos-latest