1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +01:00

testing PKG_VERSION

This commit is contained in:
Joseph Flinn 2021-01-26 22:49:46 +00:00
parent 1e577eb43c
commit d6c3716d4b

View File

@ -20,34 +20,35 @@ jobs:
TAG_VERSION=$(echo ${{ github.ref }} | cut -d "/" -f 3)
PKG_VERSION=${TAG_VERSION:1}
echo "PKG_VERSION=$PKG_VERSION"
echo "::set-output name=package_version::$PKG_VERSION"
linux:
runs-on: ubuntu-latest
if: false
needs: setup
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Install Snap
uses: samuelmeuli/action-snapcraft@v1
#with:
# snapcraft_token: ${{ secrets.SNAP_TOKEN }}
#- name: Install Snap
# uses: samuelmeuli/action-snapcraft@v1
# with:
# snapcraft_token: ${{ secrets.SNAP_TOKEN }}
#- name: Get snap release asset
# uses: dsaltares/fetch-gh-release-asset@master
# with:
# version: ${{ github.ref }}
# file:
#- name: Get snap release asset
# uses: dsaltares/fetch-gh-release-asset@master
# with:
# version: ${{ github.ref }}
# file:
- name: testing
run: |
echo ${{ github.ref }}
echo ${{ github.event.GITHUB_REF }}
echo "PKG_VERSION=$PKG_VERSION"
env:
PKG_VERSION: ${{ needs.setup.package_version }}
#- name: Deploy to Snap Store
# run: |
# snapcraft upload dist/bitwarden_${{ env.PACKAGE_VERSION }}_amd64.snap --release stable
# snapcraft logout
#- name: Deploy to Snap Store
# run: |
# snapcraft upload dist/bitwarden_${{ env.PACKAGE_VERSION }}_amd64.snap --release stable
# snapcraft logout