Skip to content

Commit

Permalink
- Removed release_unlisted (#422)
Browse files Browse the repository at this point in the history
- Renamed files in build scripts
- Fixed src xpi move command
  • Loading branch information
OhMyGuus authored Nov 8, 2022
1 parent 6614912 commit fc91492
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 94 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: IDCAC-chrome
name: ISDCAC-chrome
path: ./src/*

- name: Move to manifest v2
Expand All @@ -29,14 +29,14 @@ jobs:
with:
cmd: build
source: src
filename: "IDCAC.xpi"
filename: "ISDCAC.xpi"

- uses: actions/upload-artifact@v3
with:
name: IDCAC-firefox-source
name: ISDCAC-firefox-source
path: ./src/*

- uses: actions/upload-artifact@v3
with:
name: IDCAC-firefox-unsigned
name: ISDCAC-firefox-unsigned
path: ${{ steps.web-ext-build.outputs.target }}
14 changes: 5 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,14 @@ on:
push:
tags:
- "v*.*.*"
- "V*.*.*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Generate release tag
id: tag
run: |
echo "::set-output name=release_tag::IDAC_$(date +"%Y.%m.%d_%H-%M")"
- name: Move to manifest v3
run: |
cp src/manifest_v3.json src/manifest.json
Expand All @@ -27,7 +23,7 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: IDCAC-chrome
name: ISDCAC-chrome
path: ./src/*

- name: Move to manifest v2
Expand All @@ -45,12 +41,12 @@ jobs:

- uses: actions/upload-artifact@v3
with:
name: IDCAC-firefox-unsigned
name: ISDCAC-firefox-unsigned
path: ${{ steps.web-ext-build.outputs.target }}

- uses: actions/upload-artifact@v3
with:
name: IDCAC-firefox-source
name: ISDCAC-firefox-source
path: ./src/*

- name: "web-ext sign"
Expand Down Expand Up @@ -79,7 +75,7 @@ jobs:

- name: Rename source xpi
run: |
mv ISDCAC.xpi ISDCAC-firefox-source.zip
mv ${{ steps.web-ext-build.outputs.target }} ISDCAC-firefox-source.zip
- name: "Create Release"
uses: softprops/action-gh-release@v1
Expand Down
81 changes: 0 additions & 81 deletions .github/workflows/release_unlisted.yml

This file was deleted.

0 comments on commit fc91492

Please sign in to comment.