Skip to content

Commit

Permalink
github actions alpha workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Die4Ever committed Mar 28, 2024
1 parent 4575c75 commit c479a24
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions .github/workflows/release-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v4

# install stuff and run tests
- uses: ./.github/run-tests
#- uses: ./.github/run-tests

# default the tag to the current ref, or use the testing tag
- run: echo "RELEASE_TAG=${{ github.ref }}" >> $GITHUB_ENV
Expand All @@ -30,23 +30,23 @@ jobs:
shell: bash

# upload assets to release
- name: Upload Release Asset DXRando
id: upload-release-asset-dxrando
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: installer/dist/DXRandoInstaller.exe
asset_name: DXRandoInstaller.exe
tag: ${{ env.RELEASE_TAG }}
# - name: Upload Release Asset DXRando
# id: upload-release-asset-dxrando
# uses: svenstaro/upload-release-action@v2
# with:
# repo_token: ${{ secrets.GITHUB_TOKEN }}
# file: installer/dist/DXRandoInstaller.exe
# asset_name: DXRandoInstaller.exe
# tag: ${{ env.RELEASE_TAG }}

- name: Upload Release Asset BingoViewer
id: upload-release-asset-bingoviewer
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: installer/dist/BingoViewer.exe
asset_name: BingoViewer.exe
tag: ${{ env.RELEASE_TAG }}
# - name: Upload Release Asset BingoViewer
# id: upload-release-asset-bingoviewer
# uses: svenstaro/upload-release-action@v2
# with:
# repo_token: ${{ secrets.GITHUB_TOKEN }}
# file: installer/dist/BingoViewer.exe
# asset_name: BingoViewer.exe
# tag: ${{ env.RELEASE_TAG }}

linux:
runs-on: ubuntu-latest
Expand All @@ -66,15 +66,15 @@ jobs:
github.rest.git.updateRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'refs/tags/testing',
ref: 'tags/testing',
sha: context.sha
})
# install stuff and run tests
- run: sudo apt-get update -y
- run: sudo apt-get install -y python3-tk idle3 binutils

- uses: ./.github/run-tests
#- uses: ./.github/run-tests

# default the tag to the current ref, or use the testing tag
- run: echo "RELEASE_TAG=${{ github.ref }}" >> $GITHUB_ENV
Expand All @@ -85,20 +85,20 @@ jobs:
shell: bash

# upload assets to release
- name: Upload Release Asset DXRando
id: upload-release-asset-dxrando
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: installer/dist/DXRandoInstaller
asset_name: DXRandoInstaller-Linux
tag: ${{ env.RELEASE_TAG }}
# - name: Upload Release Asset DXRando
# id: upload-release-asset-dxrando
# uses: svenstaro/upload-release-action@v2
# with:
# repo_token: ${{ secrets.GITHUB_TOKEN }}
# file: installer/dist/DXRandoInstaller
# asset_name: DXRandoInstaller-Linux
# tag: ${{ env.RELEASE_TAG }}

- name: Upload Release Asset BingoViewer
id: upload-release-asset-bingoviewer
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: installer/dist/BingoViewer
asset_name: BingoViewer-Linux
tag: ${{ env.RELEASE_TAG }}
# - name: Upload Release Asset BingoViewer
# id: upload-release-asset-bingoviewer
# uses: svenstaro/upload-release-action@v2
# with:
# repo_token: ${{ secrets.GITHUB_TOKEN }}
# file: installer/dist/BingoViewer
# asset_name: BingoViewer-Linux
# tag: ${{ env.RELEASE_TAG }}

0 comments on commit c479a24

Please sign in to comment.