1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-28 07:49:41 +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) 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