mirror of
https://github.com/bitwarden/desktop.git
synced 2025-02-18 01:31:42 +01:00
testing PKG_VERSION
This commit is contained in:
parent
1e577eb43c
commit
d6c3716d4b
35
.github/workflows/deploy.yml
vendored
35
.github/workflows/deploy.yml
vendored
@ -20,34 +20,35 @@ jobs:
|
|||||||
TAG_VERSION=$(echo ${{ github.ref }} | cut -d "/" -f 3)
|
TAG_VERSION=$(echo ${{ github.ref }} | cut -d "/" -f 3)
|
||||||
PKG_VERSION=${TAG_VERSION:1}
|
PKG_VERSION=${TAG_VERSION:1}
|
||||||
|
|
||||||
echo "PKG_VERSION=$PKG_VERSION"
|
echo "::set-output name=package_version::$PKG_VERSION"
|
||||||
|
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: false
|
needs: setup
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install Snap
|
#- name: Install Snap
|
||||||
uses: samuelmeuli/action-snapcraft@v1
|
# uses: samuelmeuli/action-snapcraft@v1
|
||||||
#with:
|
# with:
|
||||||
# snapcraft_token: ${{ secrets.SNAP_TOKEN }}
|
# snapcraft_token: ${{ secrets.SNAP_TOKEN }}
|
||||||
|
|
||||||
#- name: Get snap release asset
|
#- name: Get snap release asset
|
||||||
# uses: dsaltares/fetch-gh-release-asset@master
|
# uses: dsaltares/fetch-gh-release-asset@master
|
||||||
# with:
|
# with:
|
||||||
# version: ${{ github.ref }}
|
# version: ${{ github.ref }}
|
||||||
# file:
|
# file:
|
||||||
|
|
||||||
- name: testing
|
- name: testing
|
||||||
run: |
|
run: |
|
||||||
echo ${{ github.ref }}
|
echo "PKG_VERSION=$PKG_VERSION"
|
||||||
echo ${{ github.event.GITHUB_REF }}
|
env:
|
||||||
|
PKG_VERSION: ${{ needs.setup.package_version }}
|
||||||
|
|
||||||
#- name: Deploy to Snap Store
|
#- name: Deploy to Snap Store
|
||||||
# run: |
|
# run: |
|
||||||
# snapcraft upload dist/bitwarden_${{ env.PACKAGE_VERSION }}_amd64.snap --release stable
|
# snapcraft upload dist/bitwarden_${{ env.PACKAGE_VERSION }}_amd64.snap --release stable
|
||||||
# snapcraft logout
|
# snapcraft logout
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user